ipfs-cluster/ipfsconn/ipfshttp
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
..
config_test.go Pintracker: remove timeouts 2018-05-02 15:24:26 +02:00
config.go Fixes for adding: set default timeouts to 0. Improve flags and param names. 2018-08-08 21:11:26 +02:00
ipfshttp_test.go Fix 466: Hijack repo/stat in the proxy and return aggregates from the cluster. 2018-08-20 20:43:27 +02:00
ipfshttp.go Fix #548: Re-enable keep-alives. Set Connection: Close when adding. 2018-09-29 02:07:57 +02:00