ipfs-cluster/api
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
..
rest Fix #548: Re-enable keep-alives. Set Connection: Close when adding. 2018-09-29 02:07:57 +02:00
add_test.go Fix tests 2018-08-09 03:42:39 +02:00
add.go AddParams: support "cid-version" and "hash" function. 2018-08-21 19:38:41 +02:00
types_test.go Start cluster tests 2018-08-07 20:12:05 +02:00
types.go Issue #446 Adding peername to PinInfo 2018-09-24 23:20:37 +05:30
util.go wip 2018-08-07 20:12:05 +02:00