Notify send_tasks when there is a connection error (#231)

This commit is contained in:
Sean McArthur
2018-03-07 12:19:54 -08:00
committed by Carl Lerche
parent ad90f9b97b
commit e3c6e0c590
4 changed files with 80 additions and 7 deletions

View File

@@ -64,9 +64,6 @@ pub(super) struct Stream {
/// Set to true when the stream is pending to be opened
pub is_pending_open: bool,
/// Task tracking when stream can be "opened", or initially sent to socket.
pub open_task: Option<task::Task>,
// ===== Fields related to receiving =====
/// Next node in the accept linked list
pub next_pending_accept: Option<store::Key>,
@@ -168,7 +165,6 @@ impl Stream {
send_capacity_inc: false,
is_pending_open: false,
next_open: None,
open_task: None,
// ===== Fields related to receiving =====
next_pending_accept: None,