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

Keep-Alive and persistent connection in client code #190

Open
JakkuSakura opened this issue Jul 10, 2021 · 0 comments
Open

Keep-Alive and persistent connection in client code #190

JakkuSakura opened this issue Jul 10, 2021 · 0 comments

Comments

@JakkuSakura
Copy link

// Keep reading bytes from the stream until we hit the end of the stream.

One point of HTTP/1.1 is persistent connection, but in this line of code, we're stuck with one request/response per connection.

@JakkuSakura JakkuSakura changed the title Keep-Alive and persistent connection Keep-Alive and persistent connection in client code Jul 10, 2021
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