remm 02/03/15 11:02:58
Modified: http11/src/java/org/apache/coyote/http11
Http11Processor.java
Log:
- Fix a few comments.
Revision Changes Path
1.10 +2 -5
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java
Index: Http11Processor.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Http11Processor.java 15 Mar 2002 05:45:05 -0000 1.9
+++ Http11Processor.java 15 Mar 2002 19:02:58 -0000 1.10
@@ -520,9 +520,6 @@
ByteChunk uriBC = request.requestURI().getByteChunk();
if (uriBC.startsWithIgnoreCase("http", 0)) {
- // If the first character of the URI is 'h', the URI is either
- // invalid, or is a full URI
-
int pos = uriBC.indexOf("://", 0, 3, 4);
int uriBCStart = uriBC.getStart();
int slashPos = -1;
@@ -587,7 +584,7 @@
if (!addInputFilter(inputFilters, encodingName)) {
// Unsupported transfer encoding
error = true;
- // Send 501; Unimplemented
+ // 501 - Unimplemented
response.setStatus(501);
}
startPos = commaPos + 1;
@@ -598,7 +595,7 @@
if (!addInputFilter(inputFilters, encodingName)) {
// Unsupported transfer encoding
error = true;
- // Send 501; Unimplemented
+ // 501 - Unimplemented
response.setStatus(501);
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>