it would actually be handy to be able to kill a server.
I want it simulating server chrashes when testing proxies.

On Mon, Jul 9, 2012 at 1:01 AM, Ben Noordhuis <[email protected]> wrote:
> On Sun, Jul 8, 2012 at 2:12 AM, Kilian C. <[email protected]> wrote:
>> As I can see here: https://github.com/joyent/node/issues/1383
>> The `close` event is emitted only when `server.connections === 0`
>>
>> While I can not understand motivations behind this, it would be great if
>> someone could answer to this:
>> How socket clients have to notice a server.close() call?
>
> Define 'socket client'?
>
>> Should I manually loop through the sockets list and destroy them all?
>> Without the close event this can be done only wrapping/overriding the close
>> method.
>>
>> Am I totally wrong on this?
>> --
>> Kilian C.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to