errors during reply() #82

Closed
gjohnson opened this Issue Jan 11, 2013 · 3 comments

2 participants

@gjohnson
Collaborator

Need to handle when the peer goes away during reply(), or at least document it.

@tj
Owner
tj commented Jan 11, 2013

+1 I don't remember what we have in place for this if anything haha

@gjohnson
Collaborator

Note to self:

events.js:71
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: This socket is closed.
    at Socket._write (net.js:519:19)
    at Socket.write (net.js:511:15)
    at reply (/Users/gjohnson/Projects/axon/lib/sockets/rep.js:53:12)
``
@gjohnson
Collaborator

I am guessing the only option is to ignore failures. Meh?

@tj tj closed this in 2392982 Feb 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment