moonchen commented on PR #13667: URL: https://github.com/apache/trafficserver/pull/13667#issuecomment-5641118204
Added the exact-size TCP_INFO check in 004c8b9c0f. A successful `getsockopt` call is accepted only when `tinfo_len == sizeof(tinfo)`; a size mismatch leaves all four log fields at `-1`. The Linux build, TCP_INFO and LogAccess unit tests, and existing AuTest pass. A local syscall shim also verified the short-reply case: a successful call reporting one byte less than requested was accepted by the previous build and rejected by the new build. Normal replies still log real values. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
