ipfs-cluster/adder
Hector Sanjuan 6e83ef5f24 Fix #548: Re-enable keep-alives. Set Connection: Close when adding.
This is a workaround to have clients behave properly with the /add
endpoint by asking them to close connections when done, effectively
disabling keep-alive for this.

This means we don't need to disable keep-alives fully on all servers,
since the rest of endpoints are not affected (they are not streaming
endpoints).

Reference https://github.com/ipfs/go-ipfs/issues/5168

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-09-29 02:07:57 +02:00
..
adderutils Fix #548: Re-enable keep-alives. Set Connection: Close when adding. 2018-09-29 02:07:57 +02:00
ipfsadd update go-cid and go-libp2p 2018-09-24 11:35:38 +10:00
local update go-cid and go-libp2p 2018-09-24 11:35:38 +10:00
sharding update go-cid and go-libp2p 2018-09-24 11:35:38 +10:00
adder_test.go update go-cid and go-libp2p 2018-09-24 11:35:38 +10:00
adder.go update go-cid and go-libp2p 2018-09-24 11:35:38 +10:00
util.go update go-cid and go-libp2p 2018-09-24 11:35:38 +10:00