summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/channel.h b/channel.h
index 5c63226..d9e2894 100644
--- a/channel.h
+++ b/channel.h
@@ -69,6 +69,10 @@ struct Channel {
int sent_close, recv_close;
int recv_eof, sent_eof;
+ /* Set after running the ChanType-specific close hander
+ * to ensure we don't run it twice (nor type->checkclose()). */
+ int close_handler_done;
+
int initconn; /* used for TCP forwarding, whether the channel has been
fully initialised */