chore(dependencies): update to newer h2
This commit is contained in:
		| @@ -272,7 +272,7 @@ impl Body { | |||||||
|             }, |             }, | ||||||
|             Kind::H2 { |             Kind::H2 { | ||||||
|                 recv: ref mut h2, .. |                 recv: ref mut h2, .. | ||||||
|             } => match ready!(Pin::new(&mut *h2).poll_next(cx)) { |             } => match ready!(h2.poll_data(cx)) { | ||||||
|                 Some(Ok(bytes)) => { |                 Some(Ok(bytes)) => { | ||||||
|                     let _ = h2.release_capacity().release_capacity(bytes.len()); |                     let _ = h2.release_capacity().release_capacity(bytes.len()); | ||||||
|                     Poll::Ready(Some(Ok(Chunk::from(bytes)))) |                     Poll::Ready(Some(Ok(Chunk::from(bytes)))) | ||||||
|   | |||||||
| @@ -169,7 +169,7 @@ where | |||||||
|                 } |                 } | ||||||
|  |  | ||||||
|                 // When the service is ready, accepts an incoming request. |                 // When the service is ready, accepts an incoming request. | ||||||
|                 match ready!(Pin::new(&mut self.conn).poll_next(cx)) { |                 match ready!(self.conn.poll_accept(cx)) { | ||||||
|                     Some(Ok((req, respond))) => { |                     Some(Ok((req, respond))) => { | ||||||
|                         trace!("incoming request"); |                         trace!("incoming request"); | ||||||
|                         let content_length = content_length_parse_all(req.headers()); |                         let content_length = content_length_parse_all(req.headers()); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user