Author: blblack
Date: Mon Feb 11 21:44:21 2008
New Revision: 1915

URL: http://svn.slimdevices.com?rev=1915&root=Jive&view=rev
Log:
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:
    branches/7.0/jive/src/pkg/jive/share/jive/net/RequestHttp.lua

Modified: branches/7.0/jive/src/pkg/jive/share/jive/net/RequestHttp.lua
URL: 
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/jive/net/RequestHttp.lua?rev=1915&root=Jive&r1=1914&r2=1915&view=diff
==============================================================================
--- branches/7.0/jive/src/pkg/jive/share/jive/net/RequestHttp.lua (original)
+++ branches/7.0/jive/src/pkg/jive/share/jive/net/RequestHttp.lua Mon Feb 11 
21:44:21 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

Reply via email to