- 06 Apr, 2000 1 commit
-
-
Niels Möller authored
when we have received EOF but not CLOSE. Noted by Markus Friedl. Rev: src/channel.c:1.76
-
- 26 Mar, 2000 1 commit
-
-
Niels Möller authored
initial_window_size. Removed references to max_window. (format_global_request): New function. Rev: src/channel.c:1.75
-
- 16 Mar, 2000 1 commit
-
-
Niels Möller authored
(do_channel_open): Pass send_packet_size to the CHANNEL_OPEN method, and round it down to SSH_MAX_PACKET if needed. (do_window_adjust): Pass the window adjustment to the CHANNEL_SEND_ADJUST method. Rev: src/channel.c:1.74
-
- 15 Feb, 2000 1 commit
-
-
Niels Möller authored
into consideration. (make_channel_read_stderr): D:o. Rev: src/channel.c:1.73
-
- 06 Feb, 2000 2 commits
-
-
Niels Möller authored
(Bazsi). (global_request_callback): Deleted class (Bazsi). (global_request): Added type, continuation and exception_hnalder arguments do the GLOBAL_REQUEST method (Bazsi). (channel_request): Likewise. * src/channel.c (make_request_status): Renamed from make_global_request_status (Bazsi). (global_request_continuation): New class (Bazsi). (send_global_request_responses): New function (Bazsi). (do_global_request_response): Use send_global_request_responses(). (global_request_exception_handler): New class (Bazsi). (make_global_request_exception_handler): New function (Bazsi). (do_global_request): Pass a continuation and an exception handler to the GLOBAL_REQUEST-method. (send_channel_request_responses): New function (Bazsi). (channel_request_continuation): New class (Bazsi). (channel_request_continuation): New class (Bazsi). (do_channel_request): Pass a continuation and an exception to the CHANNEL_REQUEST-method. (init_channel): Initialize active_requests. * src/channel.c (use_channel): New function to take a channel in use. (register_channel): New argument take_into_use. (lookup_channel_reserved): New function that returns channels that are marked as reserved, but not in use. (do_channel_open_continue): Call register_channel with take_in_use=1. (do_channel_open_confirm): Use lookup_channel_reserved(). Call use_channel(). (do_channel_open_failure): Use lookup_channel_reserved(). (format_channel_open): Renamed from prepare_channel_open. Don't call alloc_channel() or register_channel(). * src/channel.h (CHANNEL_FREE, CHANNEL_RESERVED, CHANNEL_IN_USE): New three-level classification for the in_use table. * src/channel.c (exc_finish_channel_handler): Use pointer to connection rather than to its channel table. Rev: src/channel.c:1.72 Rev: src/channel.h:1.52
-
Niels Möller authored
use. (register_channel): New argument take_into_use. (lookup_channel_reserved): New function that returns channels that are marked as reserved, but not in use. (do_channel_open_continue): Call register_channel with take_in_use=1. (do_channel_open_confirm): Use lookup_channel_reserved(). Call use_channel(). (do_channel_open_failure): Use lookup_channel_reserved(). (format_channel_open): Renamed from prepare_channel_open. Don't call alloc_channel() or register_channel(). * src/channel.h (CHANNEL_FREE, CHANNEL_RESERVED, CHANNEL_IN_USE): New three-level classification for the in_use table. * src/channel.c (exc_finish_channel_handler): Use pointer to connection rather than to its channel table. Rev: src/channel.c:1.71 Rev: src/channel.h:1.51
-
- 05 Feb, 2000 1 commit
-
-
Niels Möller authored
message. (make_channel_read_data, make_channel_read_stderr): Changed return type to io_callback. Rev: src/channel.c:1.70 Rev: src/channel.h:1.50
-
- 27 Jan, 2000 1 commit
-
-
Niels Möller authored
channel_transmit_extended): Shrink send_window_size (noted by Markus). Rev: src/channel.c:1.69
-
- 26 Jan, 2000 1 commit
-
-
Niels Möller authored
context argument. (do_window_adjust): Check for CHANNEL_SENT_EOF, so that we don't attempt to send data after EOF. Rev: src/channel.c:1.68 Rev: src/channel.h:1.49
-
- 22 Jan, 2000 1 commit
-
-
Niels Möller authored
to keep track of channels that have already been deallocated. Reported by Markus. * src/channel.c: Deleted some old commented-out definitions. Rev: src/channel.c:1.67
-
- 20 Jan, 2000 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.66
-
- 12 Jan, 2000 1 commit
-
-
Niels Möller authored
numbers, as well local numbers where they are easily available. Rev: src/channel.c:1.65
-
- 06 Jan, 2000 1 commit
-
-
Niels Möller authored
(dealloc_channel): d:o. (register_channel): d:o. (do_channel_eof): d:o. (do_channel_close): d:o. (channel_close): d:o. (channel_eof): d:o. Rev: src/channel.c:1.64
-
- 12 Dec, 1999 1 commit
-
-
Niels Möller authored
* src/sexp.h: Removed old code. * src/server_session.c: Removed old code. * src/server_keyexchange.c: Removed old code. * src/resource.h: Removed old code. * src/publickey_crypto.h: Removed old code. * src/lsh.h: Removed old code. * src/lsh.c: Removed old code. * src/keyexchange.h: Removed old code. * src/keyexchange.c: Removed old code. * src/io_commands.c: Removed old code. * src/io.c: Removed old code. * src/format.h: Removed old code. * src/exception.c: Removed old code. * src/dsa.c: Removed old code. * src/digit_table.c: Removed old code. * src/daemon.h: Removed old code. * src/daemon.c: Removed old code. * src/connection_commands.c: Removed old code. * src/command.c: Removed old code. * src/channels.c: Removed old code. * src/combinators.c: Removed old code. * src/client_userauth.c: Removed old code. * src/client_keyexchange.c (do_init_client_dh): Removed old code. * src/client.c: Removed old code. * src/channel.c: Removed old code. * src/alist.c: Removed old code. Rev: src/channel.c:1.63 Rev: src/command.c:1.31 Rev: src/connection_commands.c:1.18 Rev: src/connection_commands.h:1.6 Rev: src/daemon.c:1.4 Rev: src/daemon.h:1.3 Rev: src/digit_table.c:1.8 Rev: src/dsa.c:1.10 Rev: src/exception.c:1.12 Rev: src/format.h:1.27 Rev: src/io.c:1.83 Rev: src/io_commands.c:1.23 Rev: src/keyexchange.c:1.59 Rev: src/keyexchange.h:1.41 Rev: src/lsh.c:1.90 Rev: src/lsh.h:1.11 Rev: src/publickey_crypto.h:1.29 Rev: src/resource.h:1.9 Rev: src/server_keyexchange.c:1.36 Rev: src/server_session.c:1.21 Rev: src/sexp.h:1.25 Rev: src/spki.h:1.12
-
- 07 Dec, 1999 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.62 Rev: src/channel.h:1.47
-
- 11 Oct, 1999 1 commit
-
-
Niels Möller authored
argument. (make_channel_io_exception_handler): -"- (register_channel): Pass HANDLER_CONTEXT. Rev: src/channel.c:1.61 Rev: src/channel.h:1.46
-
- 07 Oct, 1999 1 commit
-
-
Niels Möller authored
CHANNEL_SENT_CLOSE flag. (do_channel_write): Removed test of CHANNEL_SENT_EOF flag. (do_channel_write_extended): -"- Rev: src/channel.c:1.60
-
- 02 Oct, 1999 1 commit
-
-
Niels Möller authored
resources when it is closed. (register_channel): Register the channel's resources list as an item on the connection's. (init_channel): Initialize resources list. (make_channel_read_close_callback): Renamed from make_channel_close_callback, for the same reason. (channel_io_exception_handler): Exception handler to close the channel on i/o errors. Primarily useful for fd:s the channel writes to. (make_channel_io_exception_handler): New function. * src/channel.c (channel_read_close_callback): Renamed from channel_close_callback. The previous behaviour, which used the callback for fd:s the channel writes to, was completely bogus. * src/channel.c (channel_close): Do nothing if we have already sent CHANNEL_CLOSE. (channel_eof): Do nothing if we have already sent CHANNEL_EOF, or either sent or received CHANNEL_CLOSE. * src/channel.h (ssh_channel): Added a resources attribute. Rev: src/channel.c:1.59 Rev: src/channel.h:1.45
-
- 22 Sep, 1999 1 commit
-
-
Niels Möller authored
CHANNEL_SENT_CLOSE flag before calling channel_close(). Rev: src/channel.c:1.58
-
- 20 Sep, 1999 1 commit
-
-
Niels Möller authored
(do_channel_write_extended): -"- * abstract_io.h channel.c channel.h channel_commands.c client.c command.c gc.c gc.h io.c lsh.c lsh.h lsh_writekey.c lshd.c read_data.c read_packet.c server_password.c service.h sexp_conv.c sexp_parser.c sexp_streamed_parser.c tcpforward_commands.c tcpforward_commands.h werror.c: Cleaned up and deleted old dead code. Rev: src/channel.c:1.57
-
- 07 Sep, 1999 2 commits
-
-
Niels Möller authored
Rev: src/abstract_io.h:1.32 Rev: src/channel.c:1.56 Rev: src/channel.h:1.43 Rev: src/channel_commands.c:1.16 Rev: src/client.c:1.75 Rev: src/command.c:1.26 Rev: src/gc.c:1.11 Rev: src/gc.h:1.6 Rev: src/io.c:1.76 Rev: src/lsh.c:1.71 Rev: src/lsh.h:1.8 Rev: src/lsh_writekey.c:1.13 Rev: src/lshd.c:1.62 Rev: src/read_data.c:1.24 Rev: src/read_packet.c:1.44 Rev: src/read_scan.c:1.9(DEAD) Rev: src/read_scan.h:1.9(DEAD) Rev: src/server_password.c:1.24 Rev: src/service.h:1.17 Rev: src/sexp_conv.c:1.3 Rev: src/sexp_parser.c:1.9 Rev: src/sexp_streamed_parser.c:1.11 Rev: src/tcpforward_commands.c:1.12 Rev: src/tcpforward_commands.h:1.4 Rev: src/werror.c:1.35
-
Niels Möller authored
argument, in order to install the right exception handler. (prepare_channel_open): -"- * src/channel.h (ssh_channel): Added a connection argument to CHANNEL_SEND. Rev: src/channel.c:1.55 Rev: src/channel.h:1.42
-
- 05 Sep, 1999 1 commit
-
-
Niels Möller authored
Rev: src/abstract_io.h:1.31 Rev: src/channel.c:1.54
-
- 30 Aug, 1999 1 commit
-
-
Niels Möller authored
A_WRITE-method. Rev: src/abstract_io.h:1.30 Rev: src/blocking_write.c:1.14 Rev: src/blocking_write.h:1.7 Rev: src/channel.c:1.53 Rev: src/channel_commands.c:1.14 Rev: src/client.c:1.72 Rev: src/client_keyexchange.c:1.31 Rev: src/client_userauth.c:1.19 Rev: src/compress.c:1.7 Rev: src/connection.c:1.39 Rev: src/connection.h:1.35 Rev: src/connection_commands.c:1.11 Rev: src/debug.c:1.28 Rev: src/encrypt.c:1.21 Rev: src/exception.c:1.5 Rev: src/io.c:1.71 Rev: src/keyexchange.c:1.54 Rev: src/lsh_keygen.c:1.14 Rev: src/lsh_writekey.c:1.11 Rev: src/pad.c:1.24 Rev: src/read_data.c:1.22 Rev: src/read_packet.c:1.42 Rev: src/server.c:1.59 Rev: src/server_keyexchange.c:1.29 Rev: src/server_password.c:1.22 Rev: src/server_session.c:1.14 Rev: src/server_userauth.c:1.15 Rev: src/sexp_test.c:1.11 Rev: src/tcpforward.c:1.28 Rev: src/unpad.c:1.18 Rev: src/unpad.h:1.11 Rev: src/write_buffer.c:1.20
-
- 29 Aug, 1999 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.52
-
- 28 Aug, 1999 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.51 Rev: src/channel.h:1.41 Rev: src/channel_commands.c:1.13 Rev: src/command.h:1.33 Rev: src/connection.c:1.38 Rev: src/connection.h:1.34 Rev: src/connection_commands.c:1.10 Rev: src/exception.c:1.3 Rev: src/exception.h:1.4 Rev: src/format.c:1.30 Rev: src/io.c:1.69 Rev: src/keyexchange.c:1.53 Rev: src/lsh.c:1.67 Rev: src/lsh_writekey.c:1.10 Rev: src/lshd.c:1.60 Rev: src/read_line.c:1.27 Rev: src/read_line.h:1.15 Rev: src/read_packet.c:1.40 Rev: src/read_scan.h:1.7 Rev: src/server_session.c:1.13 Rev: src/server_userauth.c:1.14 Rev: src/sexp.h:1.16 Rev: src/sexp_streamed_parser.c:1.8 Rev: src/sexp_test.c:1.10 Rev: src/ssh1_fallback.c:1.8 Rev: src/ssh1_fallback.h:1.5 Rev: src/tcpforward.c:1.27 Rev: src/tcpforward_commands.c:1.10
-
- 22 Aug, 1999 1 commit
-
-
Niels Möller authored
Rev: src/abstract_io.h:1.29 Rev: src/channel.c:1.50 Rev: src/channel.h:1.40 Rev: src/channel_commands.c:1.12 Rev: src/client.c:1.70 Rev: src/client_keyexchange.c:1.30 Rev: src/client_pty.c:1.9 Rev: src/client_userauth.c:1.18 Rev: src/combinators.c:1.7 Rev: src/command.c:1.24 Rev: src/command.h:1.32 Rev: src/compress.c:1.6 Rev: src/connection.c:1.37 Rev: src/connection.h:1.33 Rev: src/connection_commands.c:1.9 Rev: src/debug.c:1.27 Rev: src/debug.h:1.11 Rev: src/disconnect.c:1.15 Rev: src/encrypt.c:1.20 Rev: src/exception.c:1.2 Rev: src/exception.h:1.3 Rev: src/io.c:1.68 Rev: src/io.h:1.41 Rev: src/io_commands.c:1.17 Rev: src/keyexchange.c:1.52 Rev: src/keyexchange.h:1.37 Rev: src/lsh.c:1.66 Rev: src/lsh.h:1.7 Rev: src/lsh_keygen.c:1.13 Rev: src/lsh_writekey.c:1.9 Rev: src/lshd.c:1.59 Rev: src/packet_ignore.c:1.9 Rev: src/pad.c:1.23 Rev: src/read_data.c:1.21 Rev: src/read_data.h:1.9 Rev: src/read_line.c:1.26 Rev: src/read_line.h:1.14 Rev: src/read_packet.c:1.39 Rev: src/read_scan.c:1.8 Rev: src/read_scan.h:1.6 Rev: src/server.c:1.57 Rev: src/server_keyexchange.c:1.28 Rev: src/server_password.c:1.21 Rev: src/server_session.c:1.12 Rev: src/server_userauth.c:1.13 Rev: src/sexp_test.c:1.9 Rev: src/tcpforward.c:1.26 Rev: src/tcpforward_commands.c:1.9 Rev: src/unpad.c:1.17 Rev: src/userauth.h:1.14 Rev: src/werror.c:1.34 Rev: src/write_buffer.c:1.19
-
- 18 Aug, 1999 1 commit
-
-
Niels Möller authored
Rev: src/abstract_io.h:1.28 Rev: src/blocking_write.c:1.13 Rev: src/channel.c:1.49 Rev: src/channel.h:1.39 Rev: src/channel_commands.c:1.11 Rev: src/channel_commands.h:1.12 Rev: src/client.c:1.69 Rev: src/client_keyexchange.c:1.29 Rev: src/connection.c:1.36 Rev: src/connection.h:1.32 Rev: src/connection_commands.c:1.8 Rev: src/exception.h:1.2 Rev: src/io.c:1.67 Rev: src/io.h:1.40 Rev: src/io_commands.c:1.16 Rev: src/lsh.c:1.65 Rev: src/read_data.c:1.20 Rev: src/read_data.h:1.8 Rev: src/read_packet.c:1.38
-
- 10 Jul, 1999 1 commit
-
-
Niels Möller authored
Rev: src/abstract_io.h:1.25 Rev: src/channel.c:1.48 Rev: src/channel_commands.c:1.10 Rev: src/channel_commands.h:1.11 Rev: src/client.c:1.68 Rev: src/client.h:1.24 Rev: src/client_userauth.c:1.17 Rev: src/combinators.c:1.6 Rev: src/command.c:1.23 Rev: src/command.h:1.31 Rev: src/connection_commands.c:1.7 Rev: src/io.c:1.64 Rev: src/io.h:1.37 Rev: src/io_commands.c:1.15 Rev: src/lsh.c:1.64 Rev: src/lshd.c:1.58 Rev: src/read_data.c:1.19 Rev: src/read_line.c:1.25 Rev: src/read_packet.c:1.37 Rev: src/server.c:1.56 Rev: src/server_session.c:1.11 Rev: src/server_userauth.c:1.12 Rev: src/tcpforward.c:1.25 Rev: src/tcpforward_commands.c:1.8
-
- 01 Jul, 1999 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.47
-
- 30 Jun, 1999 1 commit
-
-
Niels Möller authored
the LSH_CHANNEL_READY_REC flag. (do_channel_open_failure): Clear the open_continuation attribute. (do_channel_open_confirm): -"- (channel_close_callback): Handle the case reason == 0. Rev: src/channel.c:1.46
-
- 27 Jun, 1999 1 commit
-
-
Niels Möller authored
(do_global_request_failure): New function. (do_connection_service): Install handlers for SSH_MSG_REQUEST_SUCCESS and SSH_MSG_REQUEST_FAILURE. Rev: src/channel.c:1.45
-
- 22 Jun, 1999 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.44
-
- 21 Jun, 1999 1 commit
-
-
Niels Möller authored
global_requests in the channel_table, rather than in the packet handlers. (make_connection_service): Removed this function. The command is now statically allocated. Rev: src/channel.c:1.43 Rev: src/channel.h:1.37
-
- 15 Jun, 1999 1 commit
-
-
Niels Möller authored
ports here. * src/channel.c (make_channel_table): Initialize queues for handling global requests. Rev: src/channel.c:1.42 Rev: src/channel.h:1.36
-
- 14 Jun, 1999 1 commit
-
-
Niels Möller authored
* src/channel.c (adjust_rec_window): Adapted for flow control. (channel_process_status): On LSH_CHANNEL_READY_REC, call prepare_window_adjust and c->write directly, rather than adjust_rec_window. (do_channel_data): Don't call adjust_rec_window. (do_channel_extended_data): -"- (init_channel): Install adjust_rec_window as flow control callback. Rev: src/channel.c:1.41 Rev: src/channel.h:1.35
-
- 11 Jun, 1999 2 commits
-
-
Niels Möller authored
active_global_requests and pending_global_requests. * src/channel.c, src/channel.h: object_queues should be declared as structs. Rev: src/channel.c:1.40 Rev: src/channel.h:1.34
-
Niels Möller authored
(make_global_request_status): New function. (global_request_response): New class. (do_global_request_response): New function. (make_global_request_response): New function. (do_global_request): Pass a callback object to the handler. * src/channel.h (channel_table): New attributes active_global_requests and pending_global_requests. (global_request_callback): New class. (global_request): Let the handler method take a global_request_callback as argument. Rev: src/channel.c:1.39 Rev: src/channel.h:1.33
-
- 11 May, 1999 1 commit
-
-
Niels Möller authored
rec_window_size attribute here; that's done in prepare_window_adjust(). (do_channel_data, do_channel_extended_data): rec_window_size was updated too many times, fixed. (Bazsi). Rev: src/channel.c:1.38
-
- 25 Apr, 1999 1 commit
-
-
Niels Möller authored
src/client_pty.c, src/client_pty.c, src/command.h, src/connection.c, src/keyexchange.c, src/lsh.c, src/lshd.c, src/queue.c, src/resource.c, src/server.h, src/server_password.c, src/server_pty.h, src/server_session.c, src/service.c, src/service.h, src/session.c, src/tcpforward.c, src/write_buffer.c, src/zlib.c: Removed old #if:ed out code. Rev: src/channel.c:1.37 Rev: src/channel.h:1.32 Rev: src/client.c:1.64 Rev: src/client.h:1.23 Rev: src/client_pty.c:1.7 Rev: src/client_pty.h:1.3 Rev: src/command.h:1.22 Rev: src/connection.c:1.32 Rev: src/keyexchange.c:1.49 Rev: src/lsh.c:1.53 Rev: src/lshd.c:1.48 Rev: src/queue.c:1.4 Rev: src/resource.c:1.9 Rev: src/server.h:1.18 Rev: src/server_password.c:1.19 Rev: src/server_pty.h:1.9 Rev: src/server_session.c:1.4 Rev: src/service.c:1.17 Rev: src/service.h:1.16 Rev: src/session.c:1.9 Rev: src/tcpforward.c:1.8 Rev: src/write_buffer.c:1.17 Rev: src/zlib.c:1.18
-