tst2005googlecode2 / lxmppd

Automatically exported from code.google.com/p/lxmppd
0 stars 0 forks source link

Fatal SSL errors don't call ondisconnect #442

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
e.g.,

{{{
socket: new connection id: 4047f490
socket: try to start ssl at client id: 4047f490
socket: new connection established. id: 4047f490
socket: closing client with id: 4047f490 error loading CA locations (Permission 
denied)
socket: fatal error while ssl wrapping: error loading CA locations (Permission 
denied)
}}}

Because of this in server_event, not sure about server_select:

{{{
if call_onconnect then
    self.ondisconnect = nil  -- dont call this when client isnt really connected
end
}}}

Reported by daurnimator.

Original issue reported on code.google.com by waqas20 on 8 Oct 2014 at 9:21