Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ionut-slaveanu authored Aug 14, 2024
2 parents 55721ef + ad89b53 commit 3166eeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions capi/include/hyper.h
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ void hyper_waker_free(struct hyper_waker *waker);
void hyper_waker_wake(struct hyper_waker *waker);

#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
} // extern "C"
#endif // __cplusplus

#endif /* _HYPER_H */
#endif /* _HYPER_H */
3 changes: 3 additions & 0 deletions src/proto/h2/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@ where
}

Poll::Pending => match ready!(Pin::new(&mut self.conn_eof).poll(cx)) {
// As of Rust 1.82, this pattern is no longer needed, and emits a waring.
// But we cannot remove it as long as MSRV is less than that.
#[allow(unused)]
Ok(never) => match never {},
Err(_conn_is_eof) => {
trace!("connection task is closed, closing dispatch task");
Expand Down

0 comments on commit 3166eeb

Please sign in to comment.