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

Does full duplex from the client still work in Go today? #11

Open
jroper opened this issue Oct 13, 2023 · 0 comments
Open

Does full duplex from the client still work in Go today? #11

jroper opened this issue Oct 13, 2023 · 0 comments

Comments

@jroper
Copy link

jroper commented Oct 13, 2023

As far as I can tell, in Go today (I'm using 1.18), full duplex communication cannot work with their HTTP client. This is because http2.Transport.RoundTrip doesn't return until it has received an EOF from the request body reader, making it impossible to receive or access the response until the request body has been completely sent.

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

1 participant