Commit 2a8932b4 authored by Niels Möller's avatar Niels Möller
Browse files

* src/channel.c (do_exc_finish_channel_handler): Deleted old

(#if:ed out) code for raising EXC_FINISH_READ.
(channel_close_handler): Deleted old code calling the channel's
EOF handler here.

Rev: src/channel.c:1.97
parent 2ee780eb
......@@ -176,10 +176,6 @@ do_exc_finish_channel_handler(struct exception_handler *s,
* code in a live channel is supposed to raise
* EXC_FINISH_PENDING. The typical caller is a channel's
* CHANNEL_CLOSE callback that is called below. */
#if 0
if (!self->connection->table->channel_count)
EXCEPTION_RAISE(self->connection->e, &finish_read_exception);
......@@ -1409,13 +1405,6 @@ DEFINE_PACKET_HANDLER(static, channel_close_handler,
werror("Unexpected channel CLOSE.\n");
#if 0
/* FIXME: Which eof-handlers rely on being called in
* this case? */
if (! (channel->flags & (CHANNEL_RECEIVED_EOF))
&& channel->eof)
if (channel->flags & CHANNEL_SENT_CLOSE)
static const struct exception finish_exception
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment