summaryrefslogtreecommitdiff
path: root/libfetch/common.c
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>2020-03-25 08:50:44 +0200
commiteae92bbacf3c005bf12f8f5f5555bff953ebb5d7 (patch)
tree370d781360962f01dcd3823457f56faa87a5adbc /libfetch/common.c
parent09dbe46a7608f56f07914137834e7ddda15c4837 (diff)
downloadapk-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 'libfetch/common.c')
0 files changed, 0 insertions, 0 deletions