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 an issue, reported via email, where a client connection breaks be… #24

Merged
merged 1 commit into from
Nov 20, 2022

Conversation

Castaglia
Copy link
Owner

…fore the full proxy bytes are received, in such a way as to trigger a rapidly spinning infinite loop, leading to undue CPU usage.

…fore the full proxy bytes are received, in such a way as to trigger a rapidly spinning infinite loop, leading to undue CPU usage.
@Castaglia Castaglia added the bug label Nov 20, 2022
@Castaglia Castaglia self-assigned this Nov 20, 2022
@@ -255,21 +255,21 @@ static int readv_sock(int sockfd, const struct iovec *iov, int count) {

return -1;
}
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This turned out to be the culprit: misleading indentation.

@Castaglia Castaglia merged commit ef87646 into master Nov 20, 2022
@Castaglia Castaglia deleted the fix-eof-detection branch November 20, 2022 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant