Skip to content

Pool does not respect keep alive headers and closes connections once queue is empty #4331

Description

@Ethan-Arrowood

This bug was tested on both v6 and v7

The gist is that a Pool is not respecting keep-alive timeouts and closes connections once the request queue is empty. For example, if you create a pool and execute a batch of requests, then execute another batch of requests after some timeout less than either the configured keepAliveTimeout option or the response keep-alive directive, the connections are not reused from the first batch.

I've created a test case in PR #4332 demonstrating the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions