comparison src/core/ngx_connection.c @ 8481:0d2b2664b41c quic

QUIC: added "quic" listen parameter. The parameter allows processing HTTP/0.9-2 over QUIC. Also, introduced ngx_http_quic_module and moved QUIC settings there
author Roman Arutyunyan <arut@nginx.com>
date Tue, 21 Jul 2020 23:09:22 +0300
parents 001ec7fce567
children 532fe796b0e2
comparison
equal deleted inserted replaced
8480:f537f99b86ee 8481:0d2b2664b41c
1032 ngx_use_accept_mutex = 0; 1032 ngx_use_accept_mutex = 0;
1033 1033
1034 ls = cycle->listening.elts; 1034 ls = cycle->listening.elts;
1035 for (i = 0; i < cycle->listening.nelts; i++) { 1035 for (i = 0; i < cycle->listening.nelts; i++) {
1036 1036
1037 #if (NGX_QUIC)
1037 if (ls[i].quic) { 1038 if (ls[i].quic) {
1038 continue; 1039 continue;
1039 } 1040 }
1041 #endif
1040 1042
1041 c = ls[i].connection; 1043 c = ls[i].connection;
1042 1044
1043 if (c) { 1045 if (c) {
1044 if (c->read->active) { 1046 if (c->read->active) {