comparison src/event/quic/ngx_event_quic_migration.h @ 9144:bba136612fe4

QUIC: removed path->limited flag. Its value is the opposite of path->validated.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 06 Jul 2023 17:49:01 +0400
parents fab36e4abf83
children 58afcd72446f
comparison
equal deleted inserted replaced
9143:48691bab4474 9144:bba136612fe4
16 #define NGX_QUIC_PATH_PROBE 0 16 #define NGX_QUIC_PATH_PROBE 0
17 #define NGX_QUIC_PATH_ACTIVE 1 17 #define NGX_QUIC_PATH_ACTIVE 1
18 #define NGX_QUIC_PATH_BACKUP 2 18 #define NGX_QUIC_PATH_BACKUP 2
19 19
20 #define ngx_quic_path_dbg(c, msg, path) \ 20 #define ngx_quic_path_dbg(c, msg, path) \
21 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, c->log, 0, \ 21 ngx_log_debug6(NGX_LOG_DEBUG_EVENT, c->log, 0, \
22 "quic path seq:%uL %s sent:%O recvd:%O state:%s%s%s", \ 22 "quic path seq:%uL %s sent:%O recvd:%O state:%s%s", \
23 path->seqnum, msg, path->sent, path->received, \ 23 path->seqnum, msg, path->sent, path->received, \
24 path->limited ? "L" : "", path->validated ? "V": "N", \ 24 path->validated ? "V": "N", path->validating ? "R": "");
25 path->validating ? "R": "");
26 25
27 ngx_int_t ngx_quic_handle_path_challenge_frame(ngx_connection_t *c, 26 ngx_int_t ngx_quic_handle_path_challenge_frame(ngx_connection_t *c,
28 ngx_quic_header_t *pkt, ngx_quic_path_challenge_frame_t *f); 27 ngx_quic_header_t *pkt, ngx_quic_path_challenge_frame_t *f);
29 ngx_int_t ngx_quic_handle_path_response_frame(ngx_connection_t *c, 28 ngx_int_t ngx_quic_handle_path_response_frame(ngx_connection_t *c,
30 ngx_quic_path_challenge_frame_t *f); 29 ngx_quic_path_challenge_frame_t *f);