JakeChampion commented on PR #14028:
URL: https://github.com/apache/trafficserver/pull/14028#issuecomment-6975267899

   Thanks for the review, and for the test runs on master. b83dfa95a has the 
changes.
   
   **Early data**
   
   - The parameter check now counts a `QUERY` that has content as a request 
with parameters. With `allow_early_data_params` at 0, ATS answers 425 for it.
   - The check uses `ProxyTransaction::has_request_body()`, so it applies to 
`Content-Length` content and to chunked content.
   - A `QUERY` without content and without a URL query string still goes to the 
origin as early data, the same as a `GET`.
   - `test_tls_0rtt_server.py` has two new cases: a `QUERY` with content in 
early data on HTTP/1.1 and on HTTP/2. The two cases expect 425. Without the 
`HttpSM.cc` change, the test fails.
   - The comment on the method check now cites RFC 9110, section 9.2.1.
   
   **Comments and docs**
   
   - `is_request_retryable`: the comment now gives the two rules separately. 
Unsafe methods use the header bytes queued, and `QUERY` uses the header bytes 
written. I removed the last line.
   - `query-pass-through.test.yaml`: the comment now says that ATS does not 
cache `QUERY` responses.
   - `post.check.content_length.enabled`: the docs now name POST, PUT, PUSH, 
and QUERY.
   - I also updated the `allow_early_data_params` docs. They now say that the 
parameters are the URL query string and the content of a `QUERY`.
   
   **Not changed**
   
   - `query-remap-acl.test.yaml` stays as a guard.
   - POST and PUT retries: I agree that this is a different change. I will do 
it 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