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

(channel_forward_start_io_read): Deleted

obsolete function.

Rev: src/channel_forward.c:1.14.2.5
parent 15092d3a
......@@ -145,25 +145,6 @@ channel_forward_start_io(struct channel_forward *self)
channel_io_start_read(&self->super, &self->read, oop_read_socket);
}
#if 0
/* Like above, but doesn't install a new write buffer. Used by the socks server. */
void
channel_forward_start_io_read(struct channel_forward *channel)
{
channel->super.receive = do_channel_forward_receive;
channel->super.send_adjust = do_channel_forward_send_adjust;
channel->super.eof = do_channel_forward_eof;
/* Install callbacks on the local socket. Leave write callbacks alone */
io_read(channel->socket,
make_channel_read_data(&channel->super),
make_channel_read_close_callback(&channel->super));
/* Flow control */
channel->socket->write_buffer->report = &channel->super.super;
}
#endif
static void
do_channel_forward_event(struct ssh_channel *s, enum channel_event event)
{
......
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