Skip to content

Commit

Permalink
QUIC CHANNEL: Tune RXFC default parameters
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#21565)
  • Loading branch information
hlandau authored and pull[bot] committed Nov 28, 2023
1 parent 6aca91c commit 46a8976
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ssl/quic/quic_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ static int gen_rand_conn_id(OSSL_LIB_CTX *libctx, size_t len, QUIC_CONN_ID *cid)
* QUIC Channel Initialization and Teardown
* ========================================
*/
#define DEFAULT_INIT_CONN_RXFC_WND (2 * 1024 * 1024)
#define DEFAULT_CONN_RXFC_MAX_WND_MUL 5
#define DEFAULT_INIT_CONN_RXFC_WND (768 * 1024)
#define DEFAULT_CONN_RXFC_MAX_WND_MUL 20

#define DEFAULT_INIT_STREAM_RXFC_WND (2 * 1024 * 1024)
#define DEFAULT_STREAM_RXFC_MAX_WND_MUL 5
#define DEFAULT_INIT_STREAM_RXFC_WND (512 * 1024)
#define DEFAULT_STREAM_RXFC_MAX_WND_MUL 12

#define DEFAULT_INIT_CONN_MAX_STREAMS 100

Expand Down
2 changes: 1 addition & 1 deletion ssl/quic/quic_record_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ static int qrx_process_pkt(OSSL_QRX *qrx, QUIC_URXE *urxe,
* discerned.
*
* Advance over the entire remainder of the datagram, and mark it as
* processed gap as an optimization.
* processed as an optimization.
*/
pkt_mark(&urxe->processed, pkt_idx);
/* We don't care if this fails (see above) */
Expand Down

0 comments on commit 46a8976

Please sign in to comment.