Skip to content
  • Niels Möller's avatar
    Fixed an fd leak in the server tcpip-forwarding code. · 196cef2c
    Niels Möller authored
    * src/tcpforward.c (do_tcpip_forward_request_continuation): Use
    remember_resource to associate the bound fd to the connection.
    (make_tcpip_forward_request_continuation): New argument,
    connection.
    (do_tcpip_forward_request): Pass the connection to
    make_tcpip_forward_request_continuation.
    
    Rev: src/tcpforward.c:1.66
    196cef2c