Esempio n. 1
0
 /// <summary>
 /// Destroys the internal variables used to read the message
 /// </summary>
 private void CleanupVars()
 {
     // reset our internal vars
     _chunk             = null;
     _chunkedBody       = null;
     _parser            = null;
     _receivedBytes     = null;
     _headerOffsetStart = -1;
     _headerOffsetEnd   = -1;
 }
		/// <summary>
		/// Destroys the internal variables used to read the message
		/// </summary>
		private void CleanupVars()
		{
			// reset our internal vars
			_chunk = null;
			_chunkedBody = null;
			_parser = null;
			_receivedBytes = null;
			_headerOffsetStart = -1;
			_headerOffsetEnd = -1;	
		}
Esempio n. 3
0
 /// <summary>
 /// Initializes internal variables used to read the message
 /// </summary>
 private void InitVars()
 {
     // reset our internal vars
     _state             = Processing.FirstLine;
     _chunk             = null;
     _chunkedBody       = null;
     _parser            = new HttpByteParser();
     _receivedBytes     = null;
     _headerOffsetStart = -1;
     _headerOffsetEnd   = -1;
 }
		/// <summary>
		/// Initializes internal variables used to read the message
		/// </summary>
		private void InitVars()
		{
			// reset our internal vars
			_state = Processing.FirstLine;
			_chunk = null;
			_chunkedBody = null;
            _parser = new HttpByteParser();
			_receivedBytes = null;
			_headerOffsetStart = -1;
			_headerOffsetEnd = -1;			
		}