bryancall opened a new pull request, #12898:
URL: https://github.com/apache/trafficserver/pull/12898

   * **Mark `UA_BEGIN_WRITE` in `SERVER_READ` and `SERVE_FROM_CACHE`** -- this 
milestone was only set inside the `API_SEND_RESPONSE_HDR` hook path, which 
requires a plugin to hook `TS_HTTP_SEND_RESPONSE_HDR_HOOK`. Without that hook, 
`UA_BEGIN_WRITE` stayed at zero, causing all `msdms` log fields that reference 
it (`c_ttfb`, `o_proc`, `o_body`, `hit_proc`, `hit_xfer`) to report `-1`.
   
   In production environments with plugins this was masked, but bare ATS 
installations and autests saw missing values for these fields.
   
   **Testing:** Existing autests pass. A dedicated milestone logging autest 
will be added in a follow-up PR.
   


-- 
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]

Reply via email to