Enforce monotonic stream IDs for push promises (#275)
Previously, monotonic stream IDs (spec 5.1.1) for push promises were not enforced. This was due to push promises going through an entirely separate code path than normally initiated streams. This patch unifies the code path for initializing streams via both HEADERS and PUSH_PROMISE. This is done by first calling `recv.open` in both cases. Closes #272
This commit is contained in:
		| @@ -10,7 +10,7 @@ pub(crate) use self::connection::{Config, Connection}; | ||||
| pub(crate) use self::error::Error; | ||||
| pub(crate) use self::peer::{Peer, Dyn as DynPeer}; | ||||
| pub(crate) use self::streams::{Key as StreamKey, StreamRef, OpaqueStreamRef, Streams}; | ||||
| pub(crate) use self::streams::Prioritized; | ||||
| pub(crate) use self::streams::{Prioritized, Open}; | ||||
|  | ||||
| use codec::Codec; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user