kubo/commands
Tor Arne Vestbø bfd12114e7 Remove daemon InitDone guard in interrupt handler
Instead of just terminating right there and then, we cancel the
context, and let the daemon exit cleanly. This make take a few
seconds, as the node builder and its child processes do not
care too much about the context state while building nodes,
but this can be improved by injecting checks for ctx.Done()
before time-consuming steps.
2015-04-20 16:35:35 +02:00
..
cli Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
files commands: URL escape filenames in multipart files, resolves #654 2015-02-04 16:53:24 -08:00
http Teach http client to abort channel streaming on context cancellation 2015-04-20 16:35:35 +02:00
argument.go commands: Added Recursive modifier to Argument 2014-11-18 02:13:54 -08:00
channelmarshaler.go commands: Made default JSON marshaler support channel output 2015-01-06 15:53:48 -08:00
command_test.go commands: Refactored Command#Run function signature to (req Request, res Response) 2015-01-23 18:29:29 -08:00
command.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
option_test.go tests(commands/option) test the OptionValue methods 2014-11-14 03:19:57 -08:00
option.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
request.go Remove daemon InitDone guard in interrupt handler 2015-04-20 16:35:35 +02:00
response_test.go commands; Fixed tests for Reader output 2015-01-06 15:55:17 -08:00
response.go commands: Made Std{in|out|err} accessible in Request/Response 2015-01-23 18:29:31 -08:00