mozilla-services / iprepd-nginx

Openresty nginx module for integrating with iprepd
https://github.com/mozilla-services/iprepd
Mozilla Public License 2.0
9 stars 5 forks source link

Initialize HTTP client with keepalive #23

Closed jvehent closed 5 years ago

jvehent commented 5 years ago

r? @ajvb @ameihm0912

jvehent commented 5 years ago

Would be nice to have CI testing here, since my edits were made in the online editor...

ajvb commented 5 years ago

@jvehent Yeah, was able to confirm that TCP keepalive is working perfectly. In https://github.com/mozilla-services/iprepd-nginx/pull/24, I added setting the HTTP Connection: keep-alive header to the request, but it looks like the underlying TCP connect is getting reused in production.