Add initial_max_send_streams() as builder option (#242)
This commit is contained in:
committed by
Carl Lerche
parent
0cb3e648e9
commit
4595b54cfa
@@ -1026,6 +1026,8 @@ impl<T, B: IntoBuf> Future for Handshake<T, B>
|
||||
let server = poll?.map(|codec| {
|
||||
let connection = proto::Connection::new(codec, Config {
|
||||
next_stream_id: 2.into(),
|
||||
// Server does not need to locally initiate any streams
|
||||
initial_max_send_streams: 0,
|
||||
reset_stream_duration: self.builder.reset_stream_duration,
|
||||
reset_stream_max: self.builder.reset_stream_max,
|
||||
settings: self.builder.settings.clone(),
|
||||
|
||||
Reference in New Issue
Block a user