• Dimitrios Katsaros's avatar
    Transport: Workaround for segmentation fault · 79e1a118
    Dimitrios Katsaros authored
    There is a race condition where a connection being serviced can
    hang up before a write operation is performed. In these cases, the
    transport will issue an error response to the disconnected peer,
    which invokes a promise to handle the request. The object is destroyed
    and then the promise is resolved on the destroyed response object,
    causing a segmentation fault
    79e1a118
transport.cc 13.1 KB