summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--common-channel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common-channel.c b/common-channel.c
index 09fe425..2105184 100644
--- a/common-channel.c
+++ b/common-channel.c
@@ -572,6 +572,11 @@ void recv_msg_channel_request() {
channel = getchannel();
+ if (channel->sent_close) {
+ TRACE(("leave recv_msg_channel_request: already closed channel"))
+ return;
+ }
+
if (channel->type->reqhandler) {
channel->type->reqhandler(channel);
} else {