Skip to content

New Connect for every request going via Proxy(Squid3) #59

@pradeepitm12

Description

@pradeepitm12

Hi, I am using async-http-client version 1.9.40.
My end point is https and I am trying to send multiple requests via Squid3 proxy. I need a persistent connection between client and proxy.
But I can clearly see in proxy logs that for every request new CONNECT is sent.Also with netstat for every request new ESTABLISHED is seen.
I tried to do tunneling but in this case also new connections are made. Can someone please help me to make a tunnel between client, proxy, and endpoint

Below are proxy logs
1512990924.739 134 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990925.740 122 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990926.738 103 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990927.841 187 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990928.840 174 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990929.839 162 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990930.839 150 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990931.840 139 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990932.841 130 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990933.838 111 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990934.938 190 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -
1512990935.939 179 127.0.0.1 TCP_MISS/200 0 CONNECT 52.221.109.35:443 - HIER_DIRECT/52.221.109.35 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions