jicarilla-sandbox/platform/components/http/impl/src/java/org/jicarilla/http HTTPParserImpl.java,1.12,1.13
Leo Simons <[email protected]>
| Newsgroups | gmane.comp.java.jicarilla.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jicarilla/jicarilla-sandbox/platform/components/http/impl/src/java/org/jicarilla/http
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20763/platform/components/http/impl/src/java/org/jicarilla/http
Modified Files:
HTTPParserImpl.java
Log Message:
need the while loop....
Index: HTTPParserImpl.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-sandbox/platform/components/http/impl/src/java/org/jicarilla/http/HTTPParserImpl.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- HTTPParserImpl.java 6 Apr 2004 13:37:14 -0000 1.12
+++ HTTPParserImpl.java 6 Apr 2004 13:43:42 -0000 1.13
@@ -609,21 +609,10 @@
protected void doParsingLoop() throws HTTPException
{
// parse byte-by-byte
- // todo test against this
- // while( getContext().source.hasRemaining() )
for( int i = 0; i < getContext().limit && getContext().source.hasRemaining(); i++ )
{
- //try
- //{
- getContext().next();
- doParse();
- //}
- //catch( BufferUnderflowException bue )
- //{
- // getErrorHandler().exceptionOccurred(
- // new HTTPException( HTTPEncoding.STATUS_400_Bad_Request )
- // );
- //}
+ getContext().next();
+ doParse();
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click