ipfs-cluster/api/rest
Hector Sanjuan be651da0d0 Fix: disable KeepAlives in server
See discussion in https://github.com/ipfs/go-ipfs/issues/5168

We cannot stream responses with keep-alives enabled.

I prefer this to not be a client feature, as otherwise users might end up
shooting themselves in the foot.

Note, the price is a corrupted request body which gets added
normally and gives wrong hashes!

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-18 02:48:36 +02:00
..
client Merge branch 'master' into feat/sharding-v1 2018-08-14 11:40:03 +02:00
test Issue #162: Add tests for rest.Config 2017-10-19 20:49:18 +02:00
config_test.go Config: provide utility to parse duration arguments. Use it. 2018-03-16 14:22:11 +01:00
config.go Fixes for adding: set default timeouts to 0. Improve flags and param names. 2018-08-08 21:11:26 +02:00
restapi_test.go Merge branch 'master' into feat/sharding-v1 2018-08-14 11:40:03 +02:00
restapi.go Fix: disable KeepAlives in server 2018-08-18 02:48:36 +02:00