Mercurial > hg > nginx-quic
view src/stream/ngx_stream_quic_module.h @ 8074:c6b963de0c00 quic
QUIC: pass return code from ngx_quic_decrypt() to the caller.
It is required to distinguish internal errors from corrupted packets and
perform actions accordingly: drop the packet or close the connection.
While there, made processing of ngx_quic_decrypt() erorrs similar and
removed couple of protocol violation errors.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 02 Sep 2020 22:34:15 +0300 |
parents | 893b3313f53c |
children |
line wrap: on
line source
/* * Copyright (C) Roman Arutyunyan * Copyright (C) Nginx, Inc. */ #ifndef _NGX_STREAM_QUIC_H_INCLUDED_ #define _NGX_STREAM_QUIC_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_stream.h> extern ngx_module_t ngx_stream_quic_module; #endif /* _NGX_STREAM_QUIC_H_INCLUDED_ */