feat(lib): update Tokio, bytes, http, h2, and http-body
This commit is contained in:
@@ -2,7 +2,7 @@ use futures_channel::{mpsc, oneshot};
|
||||
use futures_util::future::{self, FutureExt as _, TryFutureExt as _, Either};
|
||||
use futures_util::stream::StreamExt as _;
|
||||
use h2::client::{Builder, SendRequest};
|
||||
use tokio_io::{AsyncRead, AsyncWrite};
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
|
||||
use crate::headers::content_length_parse_all;
|
||||
use crate::body::Payload;
|
||||
@@ -71,7 +71,7 @@ where
|
||||
}
|
||||
};
|
||||
|
||||
exec.execute(conn_task)?;
|
||||
exec.execute(conn_task);
|
||||
|
||||
Ok(ClientTask {
|
||||
conn_drop_ref,
|
||||
@@ -155,7 +155,7 @@ where
|
||||
drop(conn_drop_ref);
|
||||
x
|
||||
});
|
||||
self.executor.execute(pipe)?;
|
||||
self.executor.execute(pipe);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -175,7 +175,7 @@ where
|
||||
}
|
||||
}
|
||||
});
|
||||
self.executor.execute(cb.send_when(fut))?;
|
||||
self.executor.execute(cb.send_when(fut));
|
||||
continue;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user