Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
c4bcb6e8
Commit
c4bcb6e8
authored
Feb 13, 2006
by
Niels Möller
Browse files
(channel_forward_start_io_read): Deleted
obsolete function. Rev: src/channel_forward.c:1.14.2.5
parent
15092d3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/channel_forward.c
View file @
c4bcb6e8
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment