1. 14 Jun, 2008 3 commits
  2. 09 Jun, 2008 17 commits
    • Niels Möller's avatar
      *** empty log message *** · 9c0aef51
      Niels Möller authored
      Rev: ChangeLog:1.978
      9c0aef51
    • Niels Möller's avatar
      * src/gateway_channel.c (gateway_forward_channel_request): struct · 2641724b
      Niels Möller authored
      channel_request_info renamed to request_info.
      
      Rev: src/gateway_channel.c:1.30
      2641724b
    • Niels Möller's avatar
      (remove_server_forward): Deleted. · fb5210ff
      Niels Möller authored
      (do_tcpip_forward_handler): Adapted to new convention. Use
      global_request_reply.
      (do_tcpip_cancel_forward): Adapted to new convention. Use
      global_request_reply, and tcpforward_remove.
      
      Rev: src/server_tcpforward.c:1.7
      fb5210ff
    • Niels Möller's avatar
      Cleanup of handle_global_request. · 751b9fc4
      Niels Möller authored
      Rev: src/channel.c:1.140
      751b9fc4
    • Niels Möller's avatar
      *** empty log message *** · 051d9aaf
      Niels Möller authored
      Rev: ChangeLog:1.977
      051d9aaf
    • Niels Möller's avatar
      (lsh_object_check_subtype): Removed support for LSH_ALLOC_STACK. · 825a8d78
      Niels Möller authored
      Rev: src/xalloc.c:1.38
      825a8d78
    • Niels Möller's avatar
      (remove_server_forward): Deleted. · 22272b60
      Niels Möller authored
      (do_tcpip_forward_handler): Adapted to new convention. Use
      global_request_reply.
      (do_tcpip_cancel_forward): Adapted to new convention. Use
      global_request_reply, and tcpforward_remove.
      
      Rev: src/server_tcpforward.c:1.6
      22272b60
    • Niels Möller's avatar
      (shell_request_handler): struct · 2b4f8171
      Niels Möller authored
      channel_request_info renamed to request_info.
      (exec_request_handler): Likewise.
      (do_spawn_subsystem): Likewise.
      (pty_request_handler): Likewise.
      (window_change_request_handler): Likewise.
      (x11_request_handler): Likewise.
      
      Rev: src/server_session.c:1.114
      2b4f8171
    • Niels Möller's avatar
      (pty_send_message): Moved declaration of creds. · b8ff6356
      Niels Möller authored
      Rev: src/pty-helper.c:1.9
      b8ff6356
    • Niels Möller's avatar
      (process_request): Deleted werror messages for each request. · 8a0b0bea
      Niels Möller authored
      Rev: src/lshd-pty-helper.c:1.12
      8a0b0bea
    • Niels Möller's avatar
      (channel_open_x11): Use CAST_SUBTYPE, since client_x11_handler has · 3dab1bf0
      Niels Möller authored
      subclasses.
      
      Rev: src/client_x11.c:1.34
      3dab1bf0
    • Niels Möller's avatar
      (class remote_port): Inherit · 9809e277
      Niels Möller authored
      client_tcpforward_handler.
      (do_remote_port_open): New function
      (make_remote_port): Initialize open method.
      (channel_open_forwarded_tcpip): Look up a
      client_tcpforward_handler for the port, and invoke its open
      method. Code for actual connecting is moved to
      do_remote_port_open.
      (class remote_port_state): New class, replacing
      remote_port_continuation and remote_port_exception_handler.
      (do_remote_port_state_done): New function.
      (class remote_port_continuation): Deleted.
      (do_remote_port_continuation): Deleted.
      (make_remote_port_continuation): Deleted.
      (class remote_port_exception_handler): Deleted.
      (do_remote_port_exception_handler): Deleted.
      (make_remote_port_exception_handler): Deleted.
      (do_request_tcpip_forward): Adapted to new
      channel_send_global_request convention, and use
      make_remote_port_state.
      
      Rev: src/client_tcpforward.c:1.8
      9809e277
    • Niels Möller's avatar
      (tcpforward_remove): New function. · 6d9f3312
      Niels Möller authored
      Rev: src/tcpforward.c:1.73
      Rev: src/tcpforward.h:1.24
      6d9f3312
    • Niels Möller's avatar
      (handle_exit_status): struct · 4a9277a1
      Niels Möller authored
      channel_request_info renamed to request_info.
      (handle_exit_signal): Likewise.
      
      Rev: src/client_session.c:1.31
      4a9277a1
    • Niels Möller's avatar
      (class client_tcpforward_handler): New class. · 720fc5f9
      Niels Möller authored
      Rev: src/client.h:1.73
      720fc5f9
    • Niels Möller's avatar
      * src/channel.c (class request_status): Deleted. · 4cc234c0
      Niels Möller authored
      (make_request_status): Deleted.
      (class global_request_continuation): Deleted.
      (send_global_request_responses): Deleted.
      (do_global_request_response): Deleted.
      (make_global_request_response): Deleted.
      (class global_request_exception_handler): Deleted.
      (do_exc_global_request_handler): Deleted.
      (make_global_request_exception_handler): Deleted.
      (handle_global_request): New simplified handler convention, with
      no continuation or exception_handler.
      (global_request_reply): New function.
      (handle_global_success): Use new global_request_state class.
      (handle_global_failure): Likewise.
      (handle_channel_request): struct channel_request_info renamed to
      request_info.
      (channel_request_reply): Likewise.
      (channel_send_global_request): Use struct global_request_state
      instead of struct command_context.
      
      * src/channel.h (struct channel_request_info): Deleted.
      (class channel_request): Use struct request_info for the handler
      method.
      (class global_request_state): New class.
      
      Rev: src/channel.c:1.139
      Rev: src/channel.h:1.89
      4cc234c0
    • Niels Möller's avatar
      * src/connection.c (init_ssh_connection): Deleted initialization · 03936bf1
      Niels Möller authored
      of active_global_requests.
      
      * src/connection.h (struct request_info): New struct, replaces
      channel_request_info in channel.h. Used for both global requests
      and channel requests.
      (class ssh_connection): Deleted active_global_requests.
      (class global_request): The handler method now takes a struct
      request_info as argument, and no continuation or exception_handler.
      
      Rev: src/connection.c:1.89
      Rev: src/connection.h:1.84
      03936bf1
  3. 30 May, 2008 5 commits
  4. 28 May, 2008 15 commits