]> git.kaiwu.me - nginx.git/commit
HTTP/QUIC interface reworked.
authorVladimir Homutov <vl@nginx.com>
Thu, 12 Mar 2020 13:54:43 +0000 (16:54 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 12 Mar 2020 13:54:43 +0000 (16:54 +0300)
commit4f4f56f013eb0dbe5eb66bb2f22584aec26b13e6
tree2acd535245231df1dd49ca9759ba5c45a4787412
parent6bf6635d86c5e868699b45fc0f68d4bcf6a9b770
HTTP/QUIC interface reworked.

 - events handling moved into src/event/ngx_event_quic.c
 - http invokes once ngx_quic_run() and passes stream callback
 (diff to original http_request.c is now minimal)

 - streams are stored in rbtree using ID as a key
 - when a new stream is registered, appropriate callback is called

 - ngx_quic_stream_t type represents STREAM and stored in c->qs
src/core/ngx_connection.h
src/core/ngx_core.h
src/event/ngx_event_quic.c
src/event/ngx_event_quic.h
src/http/ngx_http_request.c