comparison src/event/quic/ngx_event_quic_migration.h @ 8778:5186ee5a94b9 quic

QUIC: simplified sending 1-RTT only frames.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 05 May 2021 19:32:49 +0300
parents 4117aa7fa38e
children 40445fc7c403
comparison
equal deleted inserted replaced
8777:d5f93733c17d 8778:5186ee5a94b9
24 ((p)->state == NGX_QUIC_PATH_NEW) ? "new" : \ 24 ((p)->state == NGX_QUIC_PATH_NEW) ? "new" : \
25 (((p)->state == NGX_QUIC_PATH_VALIDATED) ? "validated" : "validating") 25 (((p)->state == NGX_QUIC_PATH_VALIDATED) ? "validated" : "validating")
26 26
27 27
28 ngx_int_t ngx_quic_handle_path_challenge_frame(ngx_connection_t *c, 28 ngx_int_t ngx_quic_handle_path_challenge_frame(ngx_connection_t *c,
29 ngx_quic_header_t *pkt, ngx_quic_path_challenge_frame_t *f); 29 ngx_quic_path_challenge_frame_t *f);
30 ngx_int_t ngx_quic_handle_path_response_frame(ngx_connection_t *c, 30 ngx_int_t ngx_quic_handle_path_response_frame(ngx_connection_t *c,
31 ngx_quic_header_t *pkt, ngx_quic_path_challenge_frame_t *f); 31 ngx_quic_path_challenge_frame_t *f);
32 32
33 ngx_quic_path_t *ngx_quic_add_path(ngx_connection_t *c, 33 ngx_quic_path_t *ngx_quic_add_path(ngx_connection_t *c,
34 struct sockaddr *sockaddr, socklen_t socklen); 34 struct sockaddr *sockaddr, socklen_t socklen);
35 35
36 ngx_int_t ngx_quic_check_migration(ngx_connection_t *c, 36 ngx_int_t ngx_quic_check_migration(ngx_connection_t *c,