ngtcp2_conn_extend_max_streams_bidi

Synopsis

#include <ngtcp2/ngtcp2.h>

void ngtcp2_conn_extend_max_streams_bidi(ngtcp2_conn *conn, size_t n)

ngtcp2_conn_extend_max_streams_bidi() extends the number of maximum remote bidirectional streams that a remote endpoint can open by n.

The library does not increase maximum stream limit automatically. The exception is when a stream is closed without ngtcp2_callbacks.stream_open callback being called. In this case, stream limit is increased automatically.