Currently when handling HTTP 1.1 CONNECT method, multiple packets are sent just to write the HTTP response header. This PR changes that. (Verified through tcpdump.)
2. Please link to the relevant issues.
N/A
3. Which documentation changes (if any) need to be made because of this PR?
N/A
4. Checklist
[ ] I have written tests and verified that they fail without my change
[ ] I made pull request as minimal and simple as possible. If change is not small or additional dependencies are required, I opened an issue to propose and discuss the design first
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
1. What does this change do, exactly?
Currently when handling HTTP 1.1 CONNECT method, multiple packets are sent just to write the HTTP response header. This PR changes that. (Verified through tcpdump.)
2. Please link to the relevant issues.
N/A
3. Which documentation changes (if any) need to be made because of this PR?
N/A
4. Checklist