Mercurial > hg > nginx-quic
comparison src/event/ngx_event_quic.h @ 7729:1295b293d09a quic
Connection states code cleanup.
+ ngx_quic_init_ssl_methods() is no longer there, we setup methods on SSL
connection directly.
+ the handshake_handler is actually a generic quic input handler
+ updated c->log->action and debug to reflect changes and be more informative
+ c->quic is always set in ngx_quic_input()
+ the quic connection state is set by the results of SSL_do_handshake();
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 23 Mar 2020 14:53:04 +0300 |
parents | e9891e8ee975 |
children | d45325e90221 |
comparison
equal
deleted
inserted
replaced
7728:66f59c67adf4 | 7729:1295b293d09a |
---|---|
44 ngx_connection_t *parent; | 44 ngx_connection_t *parent; |
45 void *data; | 45 void *data; |
46 }; | 46 }; |
47 | 47 |
48 | 48 |
49 void ngx_quic_init_ssl_methods(SSL_CTX* ctx); | |
50 | |
51 void ngx_quic_run(ngx_connection_t *c, ngx_ssl_t *ssl, ngx_quic_tp_t *tp, | 49 void ngx_quic_run(ngx_connection_t *c, ngx_ssl_t *ssl, ngx_quic_tp_t *tp, |
52 ngx_msec_t timeout, ngx_connection_handler_pt handler); | 50 ngx_msec_t timeout, ngx_connection_handler_pt handler); |
53 ngx_connection_t *ngx_quic_create_uni_stream(ngx_connection_t *c); | 51 ngx_connection_t *ngx_quic_create_uni_stream(ngx_connection_t *c); |
54 | 52 |
55 | 53 |