diff options
author | Vladimir Homutov <vl@nginx.com> | 2020-03-16 19:00:47 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2020-03-16 19:00:47 +0300 |
commit | d0ebfa4cb97dc212aac4cde740286bc4e4cde30e (patch) | |
tree | 2ff1d4e11e50da26c2c5e18662cf30c1bd67ae24 /src/http/ngx_http_request.h | |
parent | 0d8984083b2296af349c412985ff8f4a0a1b7686 (diff) | |
download | nginx-d0ebfa4cb97dc212aac4cde740286bc4e4cde30e.tar.gz nginx-d0ebfa4cb97dc212aac4cde740286bc4e4cde30e.zip |
Split transport and crypto parts into separate files.
New files:
src/event/ngx_event_quic_protection.h
src/event/ngx_event_quic_protection.c
The protection.h header provides interface to the crypto part of the QUIC:
2 functions to initialize corresponding secrets:
ngx_quic_set_initial_secret()
ngx_quic_set_encryption_secret()
and 2 functions to deal with packet processing:
ngx_quic_encrypt()
ngx_quic_decrypt()
Also, structures representing secrets are defined there.
All functions require SSL connection and a pool, only crypto operations
inside, no access to nginx connections or events.
Currently pool->log is used for the logging (instead of original c->log).
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions