diff src/org/eclipse/jetty/http/HttpParser.java @ 1017:d2c3ff33387c

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 24 Oct 2016 01:56:08 -0600
parents 8c13b9224cff
children f126d30e04a4
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpParser.java	Mon Oct 24 01:38:00 2016 -0600
+++ b/src/org/eclipse/jetty/http/HttpParser.java	Mon Oct 24 01:56:08 2016 -0600
@@ -291,7 +291,7 @@
 						if (ch == HttpTokens.SPACE)
 						{
 							_tok0.update(_buffer.markIndex(), _buffer.getIndex() - 1);
-							_responseStatus=HttpVersions.CACHE.get(_tok0)==null?-1:0;
+							_responseStatus = HttpVersions.CACHE.get(_tok0)==null?-1:0;
 							_state=STATE_SPACE1;
 							continue;
 						}
@@ -967,11 +967,11 @@
 	{
 		// reset state
 		_contentView.setGetIndex(_contentView.putIndex());
-		_state=_persistent?STATE_START:(_endp.isInputShutdown()?STATE_END:STATE_SEEKING_EOF);
-		_contentLength=HttpTokens.UNKNOWN_CONTENT;
-		_contentPosition=0;
-		_length=0;
-		_responseStatus=0;
+		_state = _persistent?STATE_START:(_endp.isInputShutdown()?STATE_END:STATE_SEEKING_EOF);
+		_contentLength = HttpTokens.UNKNOWN_CONTENT;
+		_contentPosition = 0;
+		_length = 0;
+		_responseStatus = 0;
 
 		// Consume LF if CRLF
 		if (_eol == HttpTokens.CARRIAGE_RETURN && _buffer!=null && _buffer.hasContent() && _buffer.peek() == HttpTokens.LINE_FEED)