-
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
ed25b9f0