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

HTTP Connection Pooling is not working #11

@kelgon

Description

@kelgon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions