mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
dev_disconnect: remove @ marker.
Once connectd is doing this, we can't close as soon as we send, and in fact we can't do 'fail write' either. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -7,12 +7,10 @@
|
||||
enum dev_disconnect {
|
||||
/* Do nothing. */
|
||||
DEV_DISCONNECT_NORMAL = '=',
|
||||
/* Close connection before sending packet (and fail write). */
|
||||
/* Close connection before sending packet. */
|
||||
DEV_DISCONNECT_BEFORE = '-',
|
||||
/* Close connection after sending packet. */
|
||||
DEV_DISCONNECT_AFTER = '+',
|
||||
/* Close connection after dropping packet. */
|
||||
DEV_DISCONNECT_DROPPKT = '@',
|
||||
/* Swallow all writes from now on, and do no more reads. */
|
||||
DEV_DISCONNECT_BLACKHOLE = '0',
|
||||
/* Don't use connection after sending packet, but don't close. */
|
||||
|
||||
Reference in New Issue
Block a user