Skip to content

Conversation

@smira
Copy link
Contributor

@smira smira commented Jul 27, 2015

HTTP response to HEAD request might contain Content-Length header, even though it doesn't have response body. Without this fix deproxy hangs trying to HTTP response body which isn't there.

Don't read response for HEAD requests, even if they contain Content-Length.

@izrik
Copy link
Owner

izrik commented Jul 28, 2015

The code changes look good to me. Are there any tests that you can add?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants