Revision: 3354
http://vexi.svn.sourceforge.net/vexi/?rev=3354&view=rev
Author: clrg
Date: 2009-01-13 21:20:37 +0000 (Tue, 13 Jan 2009)
Log Message:
-----------
Fix. Removed reset(), believe it to be pointless. Cannot work anyway as mark is
never set.
Log warning instead if http stream finishes earlier than expected.
Modified Paths:
--------------
trunk/core/org.ibex.net/src/org/ibex/net/HTTP.jpp
Modified: trunk/core/org.ibex.net/src/org/ibex/net/HTTP.jpp
===================================================================
--- trunk/core/org.ibex.net/src/org/ibex/net/HTTP.jpp 2009-01-13 20:38:01 UTC
(rev 3353)
+++ trunk/core/org.ibex.net/src/org/ibex/net/HTTP.jpp 2009-01-13 21:20:37 UTC
(rev 3354)
@@ -566,7 +566,13 @@
}
return ret;
} finally {
- if (!good) reset();
+ if (!good) Log.warn(HTTP.class,"HTTP content shorter than
expected\n"+
+ " remaining :
"+length+"\n"+
+ " chunked :
"+(info.contentLength == -1)+"\n");
+
+ // REMARK - how can we reset, we never set the mark, and what
+ // good would it do anyway?
+ // if (!good) reset();
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn