]> git.kaiwu.me - nginx.git/commit
QUIC: added proper logging of special values.
authorVladimir Homutov <vl@nginx.com>
Fri, 6 Nov 2020 15:21:31 +0000 (18:21 +0300)
committerVladimir Homutov <vl@nginx.com>
Fri, 6 Nov 2020 15:21:31 +0000 (18:21 +0300)
commitb874b822e1270cb19487cffdd7d0f00080f95b94
treeaa783dd483db267de9bf26377d0d90b6743a62a0
parent609af6e31d5a74b4a59f2b769fe75b2ab736433e
QUIC: added proper logging of special values.

A number of unsigned variables has a special value, usually -1 or some maximum,
which produces huge numeric value in logs and makes them hard to read.

In order to distinguish such values in log, they are casted to the signed type
and printed as literal '-1'.
src/event/ngx_event_quic.c