summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-03-25 08:50:44 +0200
committerTimo Teräs <timo.teras@iki.fi>2021-04-11 13:58:20 +0300
commit367bff6d338e4df332aebd8c93839a1dbbd5c1a5 (patch)
treead3c42b80437d28bf92b0d5032bc6cf9bd598fe7 /test
parent2930b8f963061c919b84b0fca670fc2525ccd439 (diff)
downloadapk-tools-367bff6d338e4df332aebd8c93839a1dbbd5c1a5.tar.gz
apk-tools-367bff6d338e4df332aebd8c93839a1dbbd5c1a5.tar.bz2
apk-tools-367bff6d338e4df332aebd8c93839a1dbbd5c1a5.tar.xz
apk-tools-367bff6d338e4df332aebd8c93839a1dbbd5c1a5.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 (cherry picked from commit eae92bbacf3c005bf12f8f5f5555bff953ebb5d7)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions