diff options
| author | Vladimir Homutov <vl@nginx.com> | 2021-03-31 14:57:15 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2021-03-31 14:57:15 +0300 |
| commit | 79b66760a19599fa4b2cb3b9aa3c3e7e937df8ae (patch) | |
| tree | 325af26e1d57bbad96b52073c07360ba25d4fefe /src/event/quic/ngx_event_quic_migration.h | |
| parent | bd90c0ab796a3a321d17262c189bde334746acc3 (diff) | |
| download | nginx-79b66760a19599fa4b2cb3b9aa3c3e7e937df8ae.tar.gz nginx-79b66760a19599fa4b2cb3b9aa3c3e7e937df8ae.tar.bz2 | |
QUIC: distinct files for connection migration.
The connection migration-related code from quic.c with dependencies is moved
into separate file.
Diffstat (limited to 'src/event/quic/ngx_event_quic_migration.h')
| -rw-r--r-- | src/event/quic/ngx_event_quic_migration.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_migration.h b/src/event/quic/ngx_event_quic_migration.h new file mode 100644 index 000000000..3231b7e3b --- /dev/null +++ b/src/event/quic/ngx_event_quic_migration.h @@ -0,0 +1,20 @@ + +/* + * Copyright (C) Nginx, Inc. + */ + + +#ifndef _NGX_EVENT_QUIC_MIGRATION_H_INCLUDED_ +#define _NGX_EVENT_QUIC_MIGRATION_H_INCLUDED_ + + +#include <ngx_config.h> +#include <ngx_core.h> + + +ngx_int_t ngx_quic_handle_path_challenge_frame(ngx_connection_t *c, + ngx_quic_header_t *pkt, ngx_quic_path_challenge_frame_t *f); +ngx_int_t ngx_quic_handle_path_response_frame(ngx_connection_t *c, + ngx_quic_header_t *pkt, ngx_quic_path_challenge_frame_t *f); + +#endif |
