Commit eae92bba authored by Timo Teräs's avatar Timo Teräs

libfetch: fixups to packetization socket option setting

- split the code to a helper function
- do not set sockets to corked state when putting back to
  cache so socket state is always deterministic
- cork/uncork also when sending CONNECT to a proxy, this
  can reduce a little bit the latency how fast the packet
  gets sent out
- also pair corking with uncorking in http_request to make
  it more obvious pairing
parent 09dbe46a
Pipeline #10818 passed with stage
in 58 seconds