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 hangs while reading the HTTP request body #67

Open
nsingl00 opened this issue Jun 20, 2024 · 1 comment
Open

Proxy hangs while reading the HTTP request body #67

nsingl00 opened this issue Jun 20, 2024 · 1 comment

Comments

@nsingl00
Copy link

I am using the proxy to intercept my S3 POST request before sending it to destination.

For this, I need to read the request body.
If I try to read the body, It just hangs and later gives "Unexpected EOF" which happens when the body has been read somewhere upstream. When I look at the proxy, I see that it is reading the request here and my suspicion is, request.body not getting closed.

How can I read the request body here?

Thanks

@eliben
Copy link
Owner

eliben commented Jun 23, 2024

Can you more specifically explain the setup you're using?

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

No branches or pull requests

2 participants