- 16 Sep, 2005 3 commits
-
-
Niels Möller authored
channel_table->ssh_connection renaming. Rev: src/channel.c:1.125.2.9 Rev: src/channel.h:1.77.2.7
-
Niels Möller authored
(ssh_connection_alloc_channel, ssh_connection_dealloc_channel) (ssh_connection_use_channel, ssh_connection_pending_close): Moved functions here, from channel.c. They used to be called init_channel_table, alloc_channel, dealloc_channel, use_channel and channel_pending_close. Rev: src/connection.c:1.82.2.2
-
Niels Möller authored
this file, and renamed the class ssh_connection. Deleted old version of this class. Rev: src/connection.h:1.76.2.3
-
- 15 Sep, 2005 21 commits
-
-
Niels Möller authored
(send_global_request_responses): Deleted q argument. Updated callers. (send_channel_request_responses): Likewise. (parse_channel_request): Deleted function. Merged in handle_channel_request. (parse_channel_open): Deleted function. Merged in handle_channel_open. Rev: src/channel.c:1.125.2.8
-
Niels Möller authored
(lsh_space_alloc) [!DEBUG_ALLOC]: Use xalloc. Rev: src/xalloc.c:1.34.2.1 Rev: src/xalloc.h:1.30.2.1
-
Niels Möller authored
Rev: src/arglist.c:1.1.2.2
-
Niels Möller authored
directly, not the read_raw function. Rev: src/unix_random.c:1.17.2.2
-
Niels Möller authored
pointer. (write_packet): Don't use lsh_string_sequence_number. (handle_userauth): Likewise. Use the new argument to read_packet instead. Rev: src/lshd-userauth.c:1.1.2.12
-
Niels Möller authored
(lsh_string_sequence_number, lsh_string_set_sequence_number): Deleted functions. Rev: src/lsh_string.c:1.2.2.6 Rev: src/lsh_string.h:1.2.2.4
-
Niels Möller authored
(do_lsh_default_handler): Don't handle EXC_USERAUTH. Rev: src/lsh.c:1.200.2.12
-
Niels Möller authored
#if:ed out. Rev: src/io.c:1.215.2.8
-
Niels Möller authored
EXC_FINISH, EXC_FINISH_CHANNEL, EXC_FINISH_READ, EXC_FINISH_IO, EXC_FINISH_PENDING): Deleted unused exception types. Rev: src/exception.h:1.30.2.4
-
Niels Möller authored
Rev: ChangeLog:1.857.2.44
-
Niels Möller authored
channel_forward.c, client_pty.c, client_x11.c, gateway.c, gateway_channel.c and server_x11.c, which are currently not working. Rev: src/Makefile.am:1.28.2.20
-
Niels Möller authored
Rev: src/transport_forward.c:1.1.2.3
-
Niels Möller authored
channel_write_state and channel_read_state instead of lsh_fd objects. (do_kill_server_session): New method. (oop_write_stdin): New function. (do_receive): Use channel_io_write. (oop_read_stdout, oop_read_stderr): New functions. (do_send_adjust): Use channel_io_start_read. (do_eof): Send ^D if stdin is a pty. Call channel_write_state_close if there's no buffered data. (do_exit_shell): Use channel_maybe_close. (spawn_process): Rewrote i/o setup. (x11_request_handler): #if:ed out x11 support for now. Rev: src/server_session.c:1.103.2.4
-
Niels Möller authored
Use TRANSPORT_WRITE_FLAG_PUSH, not SSH_WRITE_FLAG_PUSH. Rev: src/lshd.c:1.170.2.28
-
Niels Möller authored
not resource. (kill_connection): Check the alive flag, and don't call exit here. (write_packet): Reintroduced connection argument. Use KILL_RESOURCE on errors. Make sure the packet is deallocated. (disconnect): Use KILL_RESOURCE, rather than exit. (do_write_packet): This is now a method of the channel_table class. (make_connection): Deleted exception_handler argument. Call io_register_fd. Disabled pty support for now. (do_exc_lshd_connection_handler): Deleted. Rev: src/lshd-connection.c:1.1.2.12
-
Niels Möller authored
(kill_connection): Check the alive flag, and don't call exit here. (write_packet): Adapted to changes to ssh_write.c. Make sure the packet is deallocated. (do_write_packet): This is now a method of the channel_table class. (make_connection): Deleted exception handler argument. (fork_lsh_transport): Deleted exception handler argument. Don't call io_set_nonblocking here. Rev: src/lsh.c:1.200.2.11
-
Niels Möller authored
transport_write.c/ssh_write.c. Rev: src/lsh-transport.c:1.1.2.13
-
Niels Möller authored
old i/o code. (global_oop_source, global_nfiles): Renamed, was source and nfiles. (io_register_fd, io_close_fd): New functions. (io_init): Reverted back to returning void. Rev: src/io.c:1.215.2.7 Rev: src/io.h:1.110.2.4
-
Niels Möller authored
CHANNEL_TABLE_WRITE, not A_WRITE. Rev: src/client_pty.c:1.27.2.2
-
Niels Möller authored
sinks counter. (class detach_callback): #if:ed out. (make_client_start_session): Deleted wrapper function. (client_maybe_pty): #if:ed out pty support for now. (client_maybe_x11): #if:ed out x11 support for now. (make_client_session): Adapted to changed make_client_session_channel. Rev: src/client.c:1.166.2.5 Rev: src/client.h:1.61.2.1
-
Niels Möller authored
client_session_channel. Use channel_read_state and channel_write_state instead of lsh_fd objects. (do_kill_client_session): New method. (oop_write_stdout, oop_write_stderr): New functions. (do_client_session_close): Deleted method. (do_client_session_eof): Updated to use channel_write_state_close. (do_receive): Use channel_io_write. (oop_read_stdin): New function. (do_send_adjust): Use channel_io_start_read. (command client_start_io): Rewritten. (make_client_session_channel): Don't set up a close handler. Rewritten i/o setup. Rev: src/client_session.c:1.21.2.1
-
- 14 Sep, 2005 10 commits
-
-
Niels Möller authored
A_WRITE. Use CAST_SUBTYPE when casting to class channel_table. Rev: src/channel_commands.c:1.30.2.2
-
Niels Möller authored
transport_write.c/ssh_write.c. Rev: src/transport.c:1.6.2.13
-
Niels Möller authored
(format_channel_failure): Made static. Rev: src/channel.c:1.125.2.7
-
Niels Möller authored
(enum channel_flag): Use an enum to define the channel flags. (CHANNEL_CLOSE_AT_EOF): Deleted. (class ssh_channel): Inherit resource, not flow_controlled. New attribute local_channel_number. Renamed channel_number to remote_channel_number. Deleted resource list and close method. New attribute sinks. (class channel_table): Inherit resource. Changed attribute write to a method. Deleted resource list. (CHANNEL_TABLE_WRITE): New method. Rev: src/channel.h:1.77.2.6
-
Niels Möller authored
(channel_pending_close, channel_finished): New functions, replacing the EXC_FINISH_PENDING and EXC_FINISH_CHANNEL exceptions. (format_global_failure, format_global_success) (format_open_confirmation, prepare_window_adjust): Made static. (class exc_finish_channel_handler): Deleted. (do_exc_finish_channel_handler, make_exc_finish_channel_handler): Deleted. (init_channel_table): Replaces make_channel_table. New arguments write and kill. (kill_channels): New function. (use_channel): Removed argument local_channel_number. (register_channel): Don't set up any exception handler. Initialize channel->local_channel_number. (lookup_channel, lookup_channel_reserved): Added asserts. (channel_adjust_rec_window): New function. Replaces adjust_rec_window. (channel_maybe_close): New function. (handle_channel_eof, channel_eof): Use channel_maybe_close. (handle_channel_close, handle_open_failure, channel_close): Use channel_finished. (channel_transmit_data, channel_transmit_extended): Send the data, rather than returning a formatted packet. Rev: src/channel.c:1.125.2.6
-
Niels Möller authored
Rev: src/channel_io.c:1.1.2.1 Rev: src/channel_io.h:1.1.2.1
-
Niels Möller authored
ingore and threshold. (select_write_size): New function, moved from ssh_write.c. (update_status, write_data, write_flush): New functions, replacing code in ssh_write.c. (transport_write_packet, transport_write_line) (transport_write_flush): Updated to changes in ssh_write_state. Rev: src/transport_write.c:1.1.2.5
-
Niels Möller authored
threshold and ignore, moved from class ssh_write_state. (enum transport_write_status): New status constants, replaces enum ssh_write_status. (enum transport_write_flag): New flags, replaces ssh_write_flag. Rev: src/transport.h:1.7.2.11
-
Niels Möller authored
Deleted threshold argument. (select_write_size): Moved to transport_write.c. (ssh_write_flush): Return amount of data actually written rather than buffered. New argument to_write with the preferred write size. (ssh_write_enqueue): Renamed and made non-static. Old name was enqueue. (ssh_write_data): Rewritten, doesn't handle ignore packets. New argument to_write, and returns amount of data actually written rather than buffered. Rev: src/ssh_write.c:1.1.2.9
-
Niels Möller authored
threshold and ignore (moved to class transport_write_state). (enum ssh_write_status): Deleted. Rev: src/ssh_write.h:1.1.2.7
-
- 13 Sep, 2005 3 commits
-
-
Niels Möller authored
Rev: src/lsh_string.c:1.2.2.5
-
Niels Möller authored
self->packet_length is zero first. Fixes bug when reading small packets. Rev: src/service_read.c:1.1.2.4
-
Niels Möller authored
name. (werror_hexdump): Use werror_format, to avoid redundant program name output. (werror_title): New function. Updated all users of werror_vformat to use it. (werror_vformat): Don't write program name. New specifier %T. (packet_types): Include this generated array here, used for %T. Rev: src/werror.c:1.73.2.4 Rev: src/werror.h:1.35.2.2
-
- 08 Sep, 2005 1 commit
-
-
Niels Möller authored
Rev: src/lsh.c:1.200.2.10
-
- 07 Sep, 2005 2 commits
-
-
Niels Möller authored
Rev: ChangeLog:1.857.2.43
-
Niels Möller authored
use -z (it's not implemented at the server side). Rev: src/testsuite/functions.sh:1.40.2.4
-