Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic.c @ 8996:430755fcdb61 quic
QUIC: dead code removed.
The ngx_quic_parse_packet() now returns NGX_OK, NGX_ERROR (parsing failed)
and NGX_ABORT (unsupported version).
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 01 Feb 2022 13:01:10 +0300 |
parents | 19251fb83187 |
children | 308ac307b3e6 |
comparison
equal
deleted
inserted
replaced
8995:19251fb83187 | 8996:430755fcdb61 |
---|---|
762 | 762 |
763 c->log->action = "parsing quic packet"; | 763 c->log->action = "parsing quic packet"; |
764 | 764 |
765 rc = ngx_quic_parse_packet(pkt); | 765 rc = ngx_quic_parse_packet(pkt); |
766 | 766 |
767 if (rc == NGX_DECLINED || rc == NGX_ERROR) { | 767 if (rc == NGX_ERROR) { |
768 return rc; | 768 return NGX_DECLINED; |
769 } | 769 } |
770 | 770 |
771 pkt->parsed = 1; | 771 pkt->parsed = 1; |
772 | 772 |
773 c->log->action = "processing quic packet"; | 773 c->log->action = "processing quic packet"; |