_hasContent=false;
    public void reset(boolean returnBuffers)    {           _state=STATE_START;        _contentLength=UNKNOWN_CONTENT;        _contentPosition=0;        _length=0;        _hasContent=false;        _response=false;                if (_buffer!=null && _buffer.length()>0 && _eol == CARRIAGE_RETURN && _buffer.peek() == LINE_FEED)        {            _buffer.skip(1);            _eol=LINE_FEED;        }                if (_content!=null)        {               if (_content.hasContent())            {                _header.setMarkIndex(-1);                _header.compact();                // TODO if pipelined requests received after big input - maybe this is not good?.                _content.skip(_header.put(_content));            }                        if (_content.length()==0)            {                if (_buffers!=null && returnBuffers)                    _buffers.returnBuffer(_content);                _content=null;             }            else            {                _content.setMarkIndex(-1);                _content.compact();            }        }                                if (_header!=null)        {            _header.setMarkIndex(-1);            if (!_header.hasContent() && _buffers!=null && returnBuffers)            {                _buffers.returnBuffer(_header);                _header=null;                _buffer=null;            }               else            {                _header.compact();                _tok0.update(_header);                _tok0.update(0,0);                _tok1.update(_header);                _tok1.update(0,0);            }        }                _buffer=_header;    }