forked from jshiffer/go-xmpp
Fix SIGSEGV in xmpp_component (#126)
* SIGSEGV in xmpp_component example with Prosody #126
This commit is contained in:
committed by
Jérôme Sautret
parent
6aa1e668ee
commit
7d89353156
@@ -20,6 +20,7 @@ const pingTimeout = time.Duration(5) * time.Second
|
||||
|
||||
var ServerDoesNotSupportXmppOverWebsocket = errors.New("The websocket server does not support the xmpp subprotocol")
|
||||
|
||||
// The decoder is expected to be initialized after connecting to a server.
|
||||
type WebsocketTransport struct {
|
||||
Config TransportConfiguration
|
||||
decoder *xml.Decoder
|
||||
|
||||
Reference in New Issue
Block a user