diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-03-25 08:50:44 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-03-25 08:50:44 +0200 |
commit | eae92bbacf3c005bf12f8f5f5555bff953ebb5d7 (patch) | |
tree | 370d781360962f01dcd3823457f56faa87a5adbc /src | |
parent | 09dbe46a7608f56f07914137834e7ddda15c4837 (diff) | |
download | apk-tools-eae92bbacf3c005bf12f8f5f5555bff953ebb5d7.tar.gz apk-tools-eae92bbacf3c005bf12f8f5f5555bff953ebb5d7.tar.bz2 apk-tools-eae92bbacf3c005bf12f8f5f5555bff953ebb5d7.tar.xz apk-tools-eae92bbacf3c005bf12f8f5f5555bff953ebb5d7.zip |
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
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions