Skip to content
  • Timo Teräs's avatar
    libfetch: fixups to packetization socket option setting · eae92bba
    Timo Teräs authored
    - 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
    eae92bba