• Steven Allen's avatar
    make sure to not drop writes on close · 860d2784
    Steven Allen authored
    Before, on close, we:
    
    1. Weren't completing the write.
    2. Flushing the buffer without waiting the latency delay.
    
    This fixes that by using two separate channels for close/reset and ignoring the
    close channel in deliverOrWait.
    860d2784
mock_stream.go 4.51 KB