Wire in PushPromise
This commit is contained in:
		| @@ -17,8 +17,14 @@ pub(super) struct Stream<B> { | ||||
|     /// Frames pending for this stream being sent to the socket | ||||
|     pub pending_send: buffer::Deque<B>, | ||||
|  | ||||
|     /// Next stream pending send | ||||
|     pub next_pending_send: Option<store::Key>, | ||||
|     /// Next node in the `Stream` linked list. | ||||
|     /// | ||||
|     /// This field is used in different linked lists depending on the stream | ||||
|     /// state. | ||||
|     pub next: Option<store::Key>, | ||||
|  | ||||
|     /// The stream's pending push promises | ||||
|     pub pending_push_promises: store::List<B>, | ||||
|  | ||||
|     /// True if the stream is currently pending send | ||||
|     pub is_pending_send: bool, | ||||
| @@ -32,7 +38,8 @@ impl<B> Stream<B> { | ||||
|             pending_recv: buffer::Deque::new(), | ||||
|             recv_task: None, | ||||
|             pending_send: buffer::Deque::new(), | ||||
|             next_pending_send: None, | ||||
|             next: None, | ||||
|             pending_push_promises: store::List::new(), | ||||
|             is_pending_send: false, | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user