Skip to content

Async request appears to not be reusing http connection #2358

Answered by seanmonstar
cjjb01 asked this question in Q&A
Discussion options

You must be logged in to vote
  • Have you configured the client's pooling options? The defaults should mean you can reuse connections.
  • Is the server sending back a connection: close header? Or otherwise closing the connection anyways?
  • Are you sending many requests concurrently? If no connection is idle, it needs to make a new one.
  • Is the time between requests longer than the configured pool idle timeout?

These are just some things I can think of.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cjjb01
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants