Reduce max number of per-connection active streams to 32

This is the max number of simultaneous open connections to the same port
on the remote.  100 was fairly arbitrary and seems a bit high.
pull/1576/head
Jason Rhinelander 3 years ago committed by Jeff Becker
parent 5e912600f8
commit 354f0f63e5
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -33,8 +33,8 @@ namespace llarp::quic
// Flow control window sizes for a buffer and individual streams:
constexpr uint64_t CONNECTION_BUFFER = 1024 * 1024;
constexpr uint64_t STREAM_BUFFER = 64 * 1024;
// Max number of simultaneous streams we support on a connection
constexpr uint64_t STREAM_LIMIT = 100;
// Max number of simultaneous streams we support over one connection
constexpr uint64_t STREAM_LIMIT = 32;
using bstring_view = std::basic_string_view<std::byte>;

Loading…
Cancel
Save