superafroman / node-torrent

Bittorrent client for node.js.
428 stars 100 forks source link

Never ending downloading, and event emitter issues #15

Open raitucarp opened 11 years ago

raitucarp commented 11 years ago
raitucarp commented 11 years ago

@superafroman

jduncanator commented 10 years ago

Also, there are socket exception issues EVERYWHERE, eg:

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: This socket is closed.
    at Socket._write (net.js:635:19)
    at doWrite (_stream_writable.js:221:10)
    at writeOrBuffer (_stream_writable.js:211:5)
    at Socket.Writable.write (_stream_writable.js:180:11)
    at Socket.write (net.js:613:40)
    at Message.writeTo (xxx\node_modules\node-torren
t\lib\message.js:18:12)
    at next (xxx\node_modules\node-torrent\lib\peer.
js:302:21)
    at nextMessage (xxx\node_modules\node-torrent\li
b\peer.js:307:7)
    at null._onTimeout (xxx\node_modules\node-torren
t\lib\peer.js:173:38)
    at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)