1. 14 Sep, 2005 6 commits
    • Niels Möller's avatar
      (PROTOCOL_ERROR): Redefine macro (kind of kludgy). · ed25b9f0
      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
    • Niels Möller's avatar
      New files. · 5dd0c957
      Niels Möller authored
      Rev: src/channel_io.c:1.1.2.1
      Rev: src/channel_io.h:1.1.2.1
      5dd0c957
    • Niels Möller's avatar
      (make_transport_write_state): Initialize · 2b4bb7e1
      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
      2b4bb7e1
    • Niels Möller's avatar
      (class transport_write_state): New attributes · 4e8a40b0
      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
      4e8a40b0
    • Niels Möller's avatar
      (init_ssh_write_state, make_ssh_write_state): · a84143b2
      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
      a84143b2
    • Niels Möller's avatar
      (class ssh_write_state): Removed attributes · 3ca1661c
      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
      3ca1661c
  2. 13 Sep, 2005 3 commits
    • Niels Möller's avatar
      (lsh_string_read): Loop on EINTR. · 52168c27
      Niels Möller authored
      Rev: src/lsh_string.c:1.2.2.5
      52168c27
    • Niels Möller's avatar
      (service_read_packet): Check if · b457c62f
      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
      b457c62f
    • Niels Möller's avatar
      (werror_format): Made static. Don't write program · b2b9a243
      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
      b2b9a243
  3. 08 Sep, 2005 1 commit
  4. 07 Sep, 2005 13 commits
  5. 06 Sep, 2005 17 commits