Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix read loop infinite loop when EOF received #71

Merged
merged 4 commits into from
Nov 17, 2018
Merged

Fix read loop infinite loop when EOF received #71

merged 4 commits into from
Nov 17, 2018

Conversation

seliopou
Copy link
Member

Addresses #68, subsumes #69.

@seliopou
Copy link
Member Author

@dwwoelfel I've tested this against your reproducer and it seems to resolve the issue. Can you confirm that?

@dwwoelfel
Copy link

This worked for me!

I still get an empty reply from the server if I send a header that is too large, though. A large referrer header is how I initially discovered the problem. I hadn't found a way to fix it in my patch, either.

@seliopou seliopou merged commit ef29ac0 into master Nov 17, 2018
@seliopou seliopou deleted the fix-eof branch November 17, 2018 16:23
@seliopou
Copy link
Member Author

@dwwoelfel That sounds like an instance of #18. If not, could you open another issue for that?

@sgrove
Copy link
Contributor

sgrove commented Dec 8, 2018

WRT #18, is there some way we can return a 413 easily, rather than an empty reply?

Lupus pushed a commit to Lupus/httpaf that referenced this pull request Dec 8, 2020
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.

3 participants