diff src/org/eclipse/jetty/http/HttpGenerator.java @ 1071:b4ba8a4d5a16

remove JBuffer.space()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Nov 2016 02:13:28 -0700
parents a44fc6b53757
children 6b7ff30bb990
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpGenerator.java	Thu Nov 10 01:23:37 2016 -0700
+++ b/src/org/eclipse/jetty/http/HttpGenerator.java	Thu Nov 10 02:13:28 2016 -0700
@@ -217,13 +217,6 @@
 		}
 
 		_contentWritten -= _buffer.position();
-/*
-		// Handle the _content
-		if (_head)
-			return Integer.MAX_VALUE;
-
-		return _buffer.space();
-*/
 	}
 
 	public boolean isBufferFull()