]> git.kaiwu.me - nginx.git/commitdiff
QUIC: changed c->quic->pto_count type to ngx_uint_t.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 19 Aug 2020 12:58:03 +0000 (15:58 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 19 Aug 2020 12:58:03 +0000 (15:58 +0300)
This field is served as a simple counter for PTO backoff.

src/event/ngx_event_quic.c

index 5a049ed3f9797f261e79425e434092e73f07c8fb..0cb57313089661fd078253cd7596450f399579c0 100644 (file)
@@ -117,7 +117,7 @@ struct ngx_quic_connection_s {
     ngx_msec_t                        min_rtt;
     ngx_msec_t                        rttvar;
 
-    ngx_msec_t                        pto_count;
+    ngx_uint_t                        pto_count;
 
 #if (NGX_DEBUG)
     ngx_uint_t                        nframes;