Use HTTP Keepalive
bradjorgensen opened this issue · 3 comments
bradjorgensen commented
Would it be possible to have this plugin use HTTP keepalive? It would be nice to have for performance in general and also reduce connection churning leading to a potentially high number of TIME_WAIT connections.
hairyhum commented
http already use keepalive by default. Default timeout is 2 min.
bradjorgensen commented
I looked into the code some after writing the initial issue and saw that it is explicitly using HTTP 1.0 and according to the erlang documentation, when using HTTP 1.0, keepalives are not used.
michaelklishin commented
Fixed in #22.