diff src/event/ngx_event_quic.c @ 8241:db745339e54b quic

The ngx_quic_frame_len() function is not really needed.
author Vladimir Homutov <vl@nginx.com>
date Thu, 19 Mar 2020 14:59:55 +0300
parents 1f002206a59b
children a14afe21e692
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -997,7 +997,7 @@ ngx_quic_output(ngx_connection_t *c)
         do {
             /* process same-level group of frames */
 
-            len += ngx_quic_frame_len(f);// TODO: handle overflow, max size
+            len += ngx_quic_create_frame(NULL, NULL, f);// TODO: handle overflow, max size
 
             f = f->next;
         } while (f && f->level == lvl);