summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_socket.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2021-12-27 13:49:56 +0300
committerVladimir Homutov <vl@nginx.com>2021-12-27 13:49:56 +0300
commitfa21bf0cc7ba2d94f66a061d644163547d79e6a2 (patch)
tree28624696137192ff0adacaa280f4b26f133aff12 /src/event/quic/ngx_event_quic_socket.h
parent05a32b5ec44e8fb54ea1976ec025a6ea650c36f9 (diff)
downloadnginx-fa21bf0cc7ba2d94f66a061d644163547d79e6a2.tar.gz
nginx-fa21bf0cc7ba2d94f66a061d644163547d79e6a2.tar.bz2
QUIC: got rid of ngx_quic_create_temp_socket().
It was mostly copy of the ngx_quic_listen(). Now ngx_quic_listen() no longer generates server id and increments seqnum. Instead, the server id is generated when the socket is created. The ngx_quic_alloc_socket() function is renamed to ngx_quic_create_socket().
Diffstat (limited to 'src/event/quic/ngx_event_quic_socket.h')
-rw-r--r--src/event/quic/ngx_event_quic_socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_socket.h b/src/event/quic/ngx_event_quic_socket.h
index 72ed67ad0..51f01a1fa 100644
--- a/src/event/quic/ngx_event_quic_socket.h
+++ b/src/event/quic/ngx_event_quic_socket.h
@@ -16,7 +16,7 @@ ngx_int_t ngx_quic_open_sockets(ngx_connection_t *c,
ngx_quic_connection_t *qc, ngx_quic_header_t *pkt);
void ngx_quic_close_sockets(ngx_connection_t *c);
-ngx_quic_socket_t *ngx_quic_alloc_socket(ngx_connection_t *c,
+ngx_quic_socket_t *ngx_quic_create_socket(ngx_connection_t *c,
ngx_quic_connection_t *qc);
ngx_int_t ngx_quic_listen(ngx_connection_t *c, ngx_quic_connection_t *qc,
ngx_quic_socket_t *qsock);