1. 16 Feb, 2004 3 commits
  2. 15 Feb, 2004 15 commits
  3. 13 Feb, 2004 2 commits
  4. 12 Feb, 2004 5 commits
  5. 08 Feb, 2004 10 commits
    • Niels Möller's avatar
      *** empty log message *** · 6486c7af
      Niels Möller authored
      Rev: ChangeLog:1.747
      6486c7af
    • Niels Möller's avatar
      NEWS items for 1.5.4. · c01a180c
      Niels Möller authored
      Rev: NEWS:1.117
      c01a180c
    • Niels Möller's avatar
      *** empty log message *** · 5e31a6d5
      Niels Möller authored
      Rev: ChangeLog:1.746
      5e31a6d5
    • Niels Möller's avatar
      (do_read_data_query): Stop reading, if · 5d7f0042
      Niels Möller authored
      connection->hard_limit is set, indicating an almost full
      write_buffer for the connection.
      
      Rev: src/read_data.c:1.37
      5d7f0042
    • Niels Möller's avatar
      (handshake_command): Adapt to changed connection_init_io. Use · 2b6466a6
      Niels Möller authored
      connection->socket instead of connection->raw.
      
      Rev: src/handshake.c:1.24
      2b6466a6
    • Niels Möller's avatar
      (gateway_make_connection): Use · dbe19041
      Niels Möller authored
      connection_init_io, so that flow control is set up properly.
      
      Rev: src/gateway_commands.c:1.23
      dbe19041
    • Niels Möller's avatar
      * src/connection.c (connection_init_io): Deleted the randomness · 501d5efc
      Niels Möller authored
      argument, and don't call make_packet_write. This way, both
      handshake_command and gateway_make_connection can call this
      function.
      
      Rev: src/connection.c:1.82
      Rev: src/connection.h:1.73
      501d5efc
    • Niels Möller's avatar
      * src/connection.h (ssh_connection): New attribute socket, · 980f0d48
      Niels Möller authored
      replaces old attribute raw. New attributes hard_limit and
      soft_limit.
      
      Implemented flow control for the connections write_buffer. The
      buffer is now of limited size. When it starts to get large, channel
      i/o is disabled. If it hits the limit, the connection is closed.
      * src/connection.c (WRITE_BUFFER_MAX, WRITE_BUFFER_MARGIN): New
      constants.
      (connection_flow_controlled): New class.
      (do_connection_flow_controlled): Reenable channel i/o when we have
      room in the write buffer.
      (make_ssh_connection): Initialize ssh_connection attributes
      wakeup, soft_limit and hard_limit.
      (connection_init_io): Changed argument type from struct
      abstract_write to struct lsh_fd. Install flow control on the
      socket's write_buffer.
      (connection_wakeup): New function, which installs a wakeup
      callback on the connection.
      (connection_send_kex): Compare the size of the write_buffer to the
      soft and hard limits.
      (connection_send_kex_end): Invoke wakeup callback, if it's
      non-NULL.
      
      Rev: src/connection.c:1.81
      Rev: src/connection.h:1.72
      980f0d48
    • Niels Möller's avatar
      Whitespace change. · ec70c327
      Niels Möller authored
      Rev: src/channel_forward.c:1.13
      ec70c327
    • Niels Möller's avatar
      (window_adjust_handler): Deleted redundant assert. · 0a4932a4
      Niels Möller authored
      (do_channels_after_keyexchange): Renamed to do_channels_wakeup. No
      longer needs to reinstall the handler.
      (init_connection_service): Use connection_wakeup, not
      connection_after_keyexchange.
      
      Rev: src/channel.c:1.124
      Rev: src/channel.h:1.77
      0a4932a4
  6. 07 Feb, 2004 5 commits