Subject: XmppConnectionState is not set to XmppConnectionState.Disconnected after failed DNS lookup
I subscribed to OnXmppConnectionStateChanged event and try to open connection with disabled network (network cable pulled out). XmppClientConnection changes state to XmppConnectionState.Connecting and then throws DNS lookup exception. But it never returns to XmppConnectionState.Disconnected after that (and OnClose event is also not fired).
And IMHO performing DNS request on calling thread synchronously is not correct since this library is meant to be asynchronous.
Update: this bug also present when connection to server timed out.
And IMHO performing DNS request on calling thread synchronously is not correct since this library is meant to be asynchronous.
Update: this bug also present when connection to server timed out.
poma
Show profile
Link to this post
