This commit is contained in:
Yu Zhu 2025-07-19 14:56:41 +00:00 committed by GitHub
commit da040eb4e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -581,6 +581,17 @@ ngx_quic_send_path_challenge(ngx_connection_t *c, ngx_quic_path_t *path)
frame->level = NGX_QUIC_ENCRYPTION_APPLICATION; frame->level = NGX_QUIC_ENCRYPTION_APPLICATION;
frame->type = NGX_QUIC_FT_PATH_CHALLENGE; frame->type = NGX_QUIC_FT_PATH_CHALLENGE;
frame->ignore_congestion = 1;
/*
* RFC 9000, 9.4. Loss Detection and Congestion Control
*
* A sender can make exceptions for probe packets so that their loss
* detection is independent and does not unduly cause the congestion
* controller to reduce its sending rate.
*/
frame->ignore_loss = 1;
ngx_memcpy(frame->u.path_challenge.data, path->challenge[n], 8); ngx_memcpy(frame->u.path_challenge.data, path->challenge[n], 8);