Skip to content
  • Niels Möller's avatar
    (class lsh_connection): New attributes write_active · 3d1564a5
    Niels Möller authored
    and write_blocked.
    (CONNECTION_WRITE_BUFFER_STOP_THRESHOLD)
    (CONNECTION_WRITE_BUFFER_START_THRESHOLD): New constants.
    (stop_gateway, start_gateway): New functions.
    (oop_write_service): New function.
    (service_start_write, service_stop_write): New functions.
    (write_packet): Use service_start_write and service_stop_write.
    (oop_read_service): Added assert.
    (make_lsh_connection): Initialize write_active and write_blocked.
    (DEFINE_COMMAND2): Call gateway_start_read.
    (fork_lsh_transport): If messages are logged to file, dup that fd
    to stderr for the child process.
    
    Rev: src/lsh.c:1.206
    3d1564a5