code: private boolean readReset(ReadStream is, int length, int streamId)
      throws IOException
    {
      int errorCode = BitsUtil.readInt(is);
      
      is.skip(length - 4);
      
      _isGoAway = true;
      
      if (streamId == 0) {
        _inHandler.onGoAway();
        IoUtil.close(is);
        // XXX: close
        return true;
      }
  
      ChannelHttp2 channel = _conn.getChannel(streamId);
      
      if (channel != null) {
        channel.getInChannel().resetStream(errorCode);
   
        if (onCloseStream() <= 0) {
          _inHandler.onGoAway();
        }
       }
      
      return true;
    }
docs: rst_stream