• Deomid Ryabkov's avatar
    Ensure that user sees all the data before connection is closed · e2dfac94
    Deomid Ryabkov authored
    If user throttles receive by setting recv_mbuf_limit,
    after the net interface reports connection as closed we must wait
    for data to trickle through before disposing of it.
    There can still b data in the buffers (e.g. SSL).
    
    CL: mg: Ensure that user sees all the data before connection is closed
    
    PUBLISHED_FROM=22be0fa368950a9fdb03cfb00febc7c0a1674b01
    e2dfac94
mg_net.h 21 KB