summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_protection.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2023-08-25 13:51:38 +0400
committerSergey Kandaurov <pluknet@nginx.com>2023-08-25 13:51:38 +0400
commit24f3cb795e2d822be39387d828ac2ddc28f775fb (patch)
treeb887af0b576f764fb8980e530e28c9850560557d /src/event/quic/ngx_event_quic_protection.h
parentf42519ff54c0ffecc2751f7957a5c3c9f1c53dfb (diff)
downloadnginx-24f3cb795e2d822be39387d828ac2ddc28f775fb.tar.gz
nginx-24f3cb795e2d822be39387d828ac2ddc28f775fb.tar.bz2
QUIC: posted generating TLS Key Update next keys.
Since at least f9fbeb4ee0de and certainly after 924882f42dea, which TLS Key Update support predates, queued data output is deferred to a posted push handler. To address timing signals after these changes, generating next keys is now posted to run after the push handler.
Diffstat (limited to 'src/event/quic/ngx_event_quic_protection.h')
-rw-r--r--src/event/quic/ngx_event_quic_protection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_protection.h b/src/event/quic/ngx_event_quic_protection.h
index 4e56ea9d1..2d3006776 100644
--- a/src/event/quic/ngx_event_quic_protection.h
+++ b/src/event/quic/ngx_event_quic_protection.h
@@ -99,7 +99,7 @@ ngx_uint_t ngx_quic_keys_available(ngx_quic_keys_t *keys,
void ngx_quic_keys_discard(ngx_quic_keys_t *keys,
enum ssl_encryption_level_t level);
void ngx_quic_keys_switch(ngx_connection_t *c, ngx_quic_keys_t *keys);
-ngx_int_t ngx_quic_keys_update(ngx_connection_t *c, ngx_quic_keys_t *keys);
+void ngx_quic_keys_update(ngx_event_t *ev);
ngx_int_t ngx_quic_encrypt(ngx_quic_header_t *pkt, ngx_str_t *res);
ngx_int_t ngx_quic_decrypt(ngx_quic_header_t *pkt, uint64_t *largest_pn);
void ngx_quic_compute_nonce(u_char *nonce, size_t len, uint64_t pn);