Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

HTTP Connection Pooling is not working #11

Open
kelgon opened this issue Aug 7, 2017 · 0 comments
Open

HTTP Connection Pooling is not working #11

kelgon opened this issue Aug 7, 2017 · 0 comments

Comments

@kelgon
Copy link

kelgon commented Aug 7, 2017

In Connection.java:, there are 4 places found with code request.setHeader("Connection", "close");

This line of code disabled the keep-alive feature, so the connection will be discarded instead of pooled.

I don't know why did the author explicitly disabled keep-alive feature while using a PooledHttpClient.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant