I'm afraid that the `close` event does not emit either, as becomes clear when hooking into the emit function as described earlier.
Only `header` and `finish` emit. Why is this so? Op dinsdag 6 november 2012 19:37:41 UTC+7 schreef mscdex het volgende: > > On Nov 6, 3:16 am, Tom <[email protected]> wrote: > > Why is this not happening? > > AFAIK the 'end' event for the net module (which http uses) is only > emitted when a packet with the TCP FIN flag is set. The 'close' event > is always emitted as the last event (and can also be emitted when a > packet with the TCP RST flag set). > -- 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
