Replies: 0 comments 3 replies
-
I think you're confusing HTTP Keep-Alive and TCP keepalive. Different layers of the stack. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm using keepAlive for http connection.
But I'm confused on the option keepAlive in http.createServer.
I understand if it's false, it means server will not keep connection alive. But I've tried to false, the keep-alive still works if I set the keepAlive of Agent of client to true.
please help me to understand what the
keepAlive
really means?My example:
env: Ubuntu 22, Node 18.16.1
The resuls make me think the keepAlive worked:
Beta Was this translation helpful? Give feedback.
All reactions