progrium / localtunnel

Expose localhost servers to the Internet
MIT License
3.2k stars 241 forks source link

Need to peek more bytes for Host header #85

Closed jdoklovic closed 11 years ago

jdoklovic commented 11 years ago

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

Bouke commented 11 years ago

See also #74 where @progrium wants to increase the peeking up to 16kB