'Internal handler for when a request is aborted by a remote peer.
@param event: The Hyper-h2 event that encodes information about the
reset stream.
@type event: L{h2.events.StreamReset}'

def _requestAborted(self, event):

    stream = self.streams[event.stream_id]
    stream.connectionLost(ConnectionLost(('Stream    reset    with    code    %s' % event.error_code)))
    self._requestDone(event.stream_id)
