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

Close conn when HTTP/1.1 clients call bidi methods #408

Merged
merged 1 commit into from
Nov 30, 2022
Merged

Conversation

akshayjshah
Copy link
Member

If an HTTP/1.1 client calls a bidi RPC method, the caller has likely written application-level code that expects a full-duplex stream. Unless the server closes the TCP connection, the client code will often end up blocked because it's trying to read the response before it closes the request body.

If an HTTP/1.1 client calls a bidi RPC method, the caller has likely
written application-level code that expects a full-duplex stream. Unless
the server closes the TCP connection, the client code will often end up
blocked because it's trying to read the response before it closes the
request body.
@akshayjshah akshayjshah merged commit 7a79704 into main Nov 30, 2022
@akshayjshah akshayjshah deleted the ajs/closeconn branch November 30, 2022 20:12
akshayjshah added a commit that referenced this pull request Jul 26, 2023
If an HTTP/1.1 client calls a bidi RPC method, the caller has likely
written application-level code that expects a full-duplex stream. Unless
the server closes the TCP connection, the client code will often end up
blocked because it's trying to read the response before it closes the
request body.
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