bneradt commented on code in PR #13489:
URL: https://github.com/apache/trafficserver/pull/13489#discussion_r3715631410


##########
tests/gold_tests/pluginTest/stale_response/stale_response_max_memory.replay.yaml:
##########
@@ -77,6 +77,10 @@ sessions:
         - [ Connection, close ]
         - [ Cache-Control, "max-age=1" ]
         - [ X-Response, oversized-origin-response ]
+        # Pad the complete response header to the 256-byte limit plus the
+        # one-byte overflow sentinel. This makes the memory rejection
+        # independent of how the response body is split across reads.
+        - [ X-Padding, aaaaaaaaaaaaaaaaaaaaaaaaaaaaa ]

Review Comment:
   Documented the padding calculation: 215 + 42 = 257 bytes.



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