News for hackers. Stuff that matters.
Re:Stop Wasting Connections, Use HTTP Keep-Alive by spockz on Thursday March 07, 2019 @05:00PM (#19332970)
My understanding was that with http/1.1 all connections are kept alive until a close is emitted. How is this different?
Re:Stop Wasting Connections, Use HTTP Keep-Alive by mgartner on Thursday March 07, 2019 @05:07PM (#19333041)
Based on https://en.wikipedia.org/wiki/HTTP_persistent_connection#HTT... it sounds like your statement is correct.

But the fact that the underlying HTTP connection is kept-alive by default doesn't necessary mean that the client is going to actually re-use that connection for multiple HTTP requests. And, in fact, in Node.js the connection is not reused by default.

Re:Stop Wasting Connections, Use HTTP Keep-Alive by robocat on Thursday March 07, 2019 @10:20PM (#19334827)