You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/06/07 13:20:12 UTC
svn commit: r1747225 -
/tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
Author: markt
Date: Tue Jun 7 13:20:12 2016
New Revision: 1747225
URL: http://svn.apache.org/viewvc?rev=1747225&view=rev
Log:
Remove debug statements
Modified:
tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java?rev=1747225&r1=1747224&r2=1747225&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java Tue Jun 7 13:20:12 2016
@@ -322,8 +322,6 @@ public class Http11InputBuffer implement
lastValid = 0;
pos = 0;
- System.out.println("Http11InputBuffer.recycle(): pos [" + pos + "], lastValid [" + lastValid + "]");
-
lastActiveFilter = -1;
parsingHeader = true;
swallowInput = true;
@@ -355,8 +353,6 @@ public class Http11InputBuffer implement
lastValid = lastValid - pos;
pos = 0;
- System.out.println("Http11InputBuffer.nextRequest(): pos [" + pos + "], lastValid [" + lastValid + "]");
-
// Recycle filters
for (int i = 0; i <= lastActiveFilter; i++) {
activeFilters[i].recycle();
@@ -636,7 +632,6 @@ public class Http11InputBuffer implement
if (swallowInput && (lastActiveFilter != -1)) {
int extraBytes = (int) activeFilters[lastActiveFilter].end();
pos = pos - extraBytes;
- System.out.println("Http11InputBuffer.endRequest(): pos [" + pos + "], lastValid [" + lastValid + "]");
(new Exception()).printStackTrace();
}
}
@@ -749,7 +744,6 @@ public class Http11InputBuffer implement
int nRead = wrapper.read(block, buf, pos, buf.length - pos);
if (nRead > 0) {
lastValid = pos + nRead;
- System.out.println("Http11InputBuffer.fill(): pos [" + pos + "], lastValid [" + lastValid + "]");
return true;
} else if (nRead == -1) {
throw new EOFException(sm.getString("iib.eof.error"));
@@ -1085,7 +1079,6 @@ public class Http11InputBuffer implement
int length = lastValid - pos;
chunk.setBytes(buf, pos, length);
pos = lastValid;
- System.out.println("SocketInputBuffer.doRead(): pos [" + pos + "], lastValid [" + lastValid + "]");
return length;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: svn commit: r1747225 -
/tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
Posted by Mark Thomas <ma...@apache.org>.
On 07/06/2016 14:37, R�my Maucherat wrote:
> 2016-06-07 15:20 GMT+02:00 <ma...@apache.org>:
>
>> Author: markt
>> Date: Tue Jun 7 13:20:12 2016
>> New Revision: 1747225
>>
>> URL: http://svn.apache.org/viewvc?rev=1747225&view=rev
>> Log:
>> Remove debug statements
>>
>> @@ -636,7 +632,6 @@ public class Http11InputBuffer implement
>> if (swallowInput && (lastActiveFilter != -1)) {
>> int extraBytes = (int) activeFilters[lastActiveFilter].end();
>> pos = pos - extraBytes;
>> - System.out.println("Http11InputBuffer.endRequest(): pos [" +
>> pos + "], lastValid [" + lastValid + "]");
>> (new Exception()).printStackTrace();
>>
>
> You missed this one.
Grr.
Thanks for spotting that.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: svn commit: r1747225 - /tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
Posted by Rémy Maucherat <re...@apache.org>.
2016-06-07 15:20 GMT+02:00 <ma...@apache.org>:
> Author: markt
> Date: Tue Jun 7 13:20:12 2016
> New Revision: 1747225
>
> URL: http://svn.apache.org/viewvc?rev=1747225&view=rev
> Log:
> Remove debug statements
>
> @@ -636,7 +632,6 @@ public class Http11InputBuffer implement
> if (swallowInput && (lastActiveFilter != -1)) {
> int extraBytes = (int) activeFilters[lastActiveFilter].end();
> pos = pos - extraBytes;
> - System.out.println("Http11InputBuffer.endRequest(): pos [" +
> pos + "], lastValid [" + lastValid + "]");
> (new Exception()).printStackTrace();
>
You missed this one.
Rémy