bneradt opened a new pull request, #12697: URL: https://github.com/apache/trafficserver/pull/12697
When negative revalidating was enabled, zero-length cached objects would fail on the second consecutive stale request with a 5xx response from the origin. The first stale request would correctly serve the cached content, but the second would return the origin's error response instead. This occurred because the cache attempted to read additional fragments for zero-length documents when the cache key didn't match the document key, causing a cache read failure (ECACHE_NO_DOC). The fix ensures zero-length documents are always treated as single-fragment, preventing attempts to read non-existent body data. Fixes: #6649 --- # For Review Only look at the last commit on this. I'm basing this on #12694 to avoid a later conflict. -- 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]
