only peeking 512 bytes for the Host header is not enough in some cases.
Specifically if you have an OAuth authorization header, it's very long and causes the Host header to be out of the 512 byte range.
This pull request ups the number of bytes peeked to 2048
only peeking 512 bytes for the Host header is not enough in some cases. Specifically if you have an OAuth authorization header, it's very long and causes the Host header to be out of the 512 byte range.
This pull request ups the number of bytes peeked to 2048