Author: titmuss
Date: Wed Feb 13 09:25:30 2008
New Revision: 1929
URL: http://svn.slimdevices.com?rev=1929&root=Jive&view=rev
Log:
[EMAIL PROTECTED] (orig r1915): blblack | 2008-02-12 05:44:21 +0000
Bug: 7012
Description:
If RequestHttp calls the sink function for artwork fetches with
no data chunk and no error value (such as when code != 200
but there is no error message to go with it), the artwork
fetch queue leaks one of its 4 slots
Modified:
trunk/ (props changed)
trunk/jive/src/pkg/jive/share/jive/net/RequestHttp.lua
Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Wed Feb 13 09:25:30 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1914
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1915
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378
Modified: trunk/jive/src/pkg/jive/share/jive/net/RequestHttp.lua
URL:
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/jive/net/RequestHttp.lua?rev=1929&root=Jive&r1=1928&r2=1929&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/jive/net/RequestHttp.lua (original)
+++ trunk/jive/src/pkg/jive/share/jive/net/RequestHttp.lua Wed Feb 13 09:25:30
2008
@@ -346,6 +346,9 @@
end
end
else
+ if not err then
+ err = "HTTP request failed with code" .. code
+ end
sink(nil, err)
end
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins