Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

setSecure deprecated on 0.3 #13

Closed
joaomachado opened this Issue · 3 comments

3 participants

@joaomachado

/home/jpaulo/Desktop/testes/xmpp/node-xmpp_git/lib/xmpp/connection.js:145
this.socket.setSecure(credentials || this.credentials);
^
TypeError: Object # has no method 'setSecure'
at Client.setSecure (/home/jpaulo/Desktop/testes/xmpp/node-xmpp_git/lib/xmpp/connection.js:145:17)
at Client.onStanza (/home/jpaulo/Desktop/testes/xmpp/node-xmpp_git/lib/xmpp/connection.js:167:14)
at StreamParser. (/home/jpaulo/Desktop/testes/xmpp/node-xmpp_git/lib/xmpp/connection.js:96:14)
at StreamParser.emit (events.js:42:17)
at [object Object]. (/home/jpaulo/Desktop/testes/xmpp/node-xmpp_git/lib/xmpp/stream_parser.js:38:22)
at StreamParser.write (/home/jpaulo/Desktop/testes/xmpp/node-xmpp_git/lib/xmpp/stream_parser.js:64:26)
at Client.onData (/home/jpaulo/Desktop/testes/xmpp/node-xmpp_git/lib/xmpp/connection.js:139:21)
at Socket. (/home/jpaulo/Desktop/testes/xmpp/node-xmpp_git/lib/xmpp/connection.js:29:14)
at Socket.emit (events.js:59:20)
at Socket._onReadable (net.js:649:14)

@astro
Owner

There was some discussion about that here: https://groups.google.com/forum/#!topic/nodejs-dev/oB_JZ6FhOSo/discussion

We have yet to find out how to STARTTLS in node 0.4.

@astro
Owner

Fixed in v0.2.6.

I didn't retain compatibility to the old stable node 0.2.x. The dependency on 0.4.x is reflected in package.json.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.