open-consul/command
Paul Banks 69ebbf3e79
Fixes #3891: agent monitor no longer unresponsive before logs stream.
The root cause is actually that the agent's streaming HTTP API didn't flush until the first log line was found which commonly was pretty soon since the default level is INFO. In cases where there were no logs immediately due to level for instance, the client gets stuck in the HTTP code waiting on a response packet from the server before we enter the loop that checks the shutdown channel from the signal handler.

This fix flushes the initial status immediately on the streaming endpoint which lets the client code get into it's expected state where it's listening for shutdown or log lines.
2018-02-19 21:53:10 +00:00
..
agent
catalog remove golint warnings 2018-01-28 22:40:13 +04:00
event
exec
flags Pull http config flag merge into public method 2018-02-05 15:00:04 -08:00
forceleave
info
join
keygen
keyring
kv Adds -base64 support to kv get command. 2017-12-14 17:28:04 -08:00
leave
lock
maint
members
monitor Fixes #3891: agent monitor no longer unresponsive before logs stream. 2018-02-19 21:53:10 +00:00
operator Fix typo 2018-01-05 15:24:44 -05:00
reload
rtt remove golint warnings 2018-01-28 22:40:13 +04:00
snapshot
validate
version
watch
commands_oss.go
registry.go