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

proxy: only apply proxy timeout to non-websocket requests #155

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

andydunstall
Copy link
Owner

Updates the HTTP proxy (both server and agent) to only apply the timeout to non-websocket requests.

This is a fairly quick fix to ensure long lived TCP and WebSocket connections work. In the future will try and apply the timeout based on the initial request response (i.e. if the request has been hijacked don't apply a timeout) instead of request header.

Fixes #147.

Updates the HTTP proxy (both server and agent) to only apply the timeout
to non-websocket requests.
@andydunstall andydunstall merged commit 685afd2 into main Aug 15, 2024
3 checks passed
@andydunstall andydunstall deleted the fix-websocket-proxy-timeout branch August 15, 2024 06:28
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.

Connection closures running piko as StatefulSet
1 participant