rabbitmq/rabbitmq-auth-backend-http

Use HTTP Keepalive

bradjorgensen opened this issue · 3 comments

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.

http already use keepalive by default. Default timeout is 2 min.

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.

Fixed in #22.