'Called by L{H2Stream} objects to request early termination of a stream.
This emits a RstStream frame and then removes all stream state.
@param streamID: The ID of the stream to write the data to.
@type streamID: L{int}'

def abortRequest(self, streamID):

    self.conn.reset_stream(streamID)
    self.transport.write(self.conn.data_to_send())
    self._requestDone(streamID)
