fix(http1): force always-ready connections to yield after a few spins

This commit is contained in:
Sean McArthur
2019-06-14 11:33:31 -07:00
parent 50198851a2
commit 8316f96d80
3 changed files with 81 additions and 14 deletions

View File

@@ -4,8 +4,10 @@ pub(crate) mod exec;
pub(crate) mod io;
mod lazy;
mod never;
pub(crate) mod task;
pub(crate) use self::buf::StaticBuf;
pub(crate) use self::exec::Exec;
pub(crate) use self::lazy::{lazy, Started as Lazy};
pub use self::never::Never;
pub(crate) use self::task::YieldNow;