Refactor to use the new streams API
authorJack Allnutt <m2ys4u@gmail.com>
Mon, 1 Apr 2013 05:24:12 +0000 (05:24 +0000)
committerJack Allnutt <m2ys4u@gmail.com>
Mon, 1 Apr 2013 05:35:37 +0000 (05:35 +0000)
commit57c223701b35439d4a8df08e6c52c2044c678656
tree6c116af116294ee95aa6984db65c9cada0143a7c
parentac0b278ca900e6a0c29cefdaf4d73b58c06bd150
Refactor to use the new streams API

SocksConnection will no longer emit the socket along with the 'connect' event.

SocksConnection is now a DuplexStream and can be read/written from/to.

SSL handling no longer manually creates a SecurePair; Uses native starttls support in tls.connect.

As it now depends on the new streams API, add the node engine restriction in package.json
config.example.js
package.json
server/irc/connection.js
server/socks.js