Author: titmuss
Date: Tue Jan 22 13:59:24 2008
New Revision: 1572
URL: http://svn.slimdevices.com?rev=1572&root=Jive&view=rev
Log:
[EMAIL PROTECTED] (orig r1556): titmuss | 2008-01-22 20:15:17 +0000
Bug: N/A
Description:
Fix crasher on network disconnect.
Modified:
trunk/ (props changed)
trunk/jive/src/pkg/jive/share/jive/net/SocketHttp.lua
Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Tue Jan 22 13:59:24 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1555
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1556
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/SocketHttp.lua
URL:
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/jive/net/SocketHttp.lua?rev=1572&root=Jive&r1=1571&r2=1572&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/jive/net/SocketHttp.lua (original)
+++ trunk/jive/src/pkg/jive/share/jive/net/SocketHttp.lua Tue Jan 22 13:59:24
2008
@@ -788,13 +788,17 @@
-- assumption is sending and receiving queries are never the same
if self.t_httpSending then
local errorSink = self.t_httpSending:t_getResponseSink()
- errorSink(nil, err)
+ if errorSink then
+ errorSink(nil, err)
+ end
self.t_httpSending = nil
end
if self.t_httpReceiving then
local errorSink = self.t_httpReceiving:t_getResponseSink()
- errorSink(nil, err)
+ if errorSink then
+ errorSink(nil, err)
+ end
self.t_httpReceiving = nil
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins