I've had a problem with a certain server advertising that it supports TLS by returning the TLS feature, but then doesn't respond to the handshake.
Unfortunately I can't find out much about the server.
I originally tried adding a timeout on the handshake, but the coding got pretty low level inside the tls_start function and a much simpler solution seemed to add a TLS disable flag on the connection object. This works with my jabber client that now has the option to call xmpp_conn_disable_tls.
It'd be great if you could put this change in so I can carry on working with your repo rather than my fork. If you have any comments/suggestions of a better way let me know.
I've had a problem with a certain server advertising that it supports TLS by returning the TLS feature, but then doesn't respond to the handshake.
Unfortunately I can't find out much about the server.
I originally tried adding a timeout on the handshake, but the coding got pretty low level inside the tls_start function and a much simpler solution seemed to add a TLS disable flag on the connection object. This works with my jabber client that now has the option to call xmpp_conn_disable_tls.
It'd be great if you could put this change in so I can carry on working with your repo rather than my fork. If you have any comments/suggestions of a better way let me know.
Thanks,
James.