On Apr 20, 2012, at April 20, 20123:52 PM, Mikeal Rogers wrote: > bad things. > > end() means "i'm writing", at a very high level. with an HTTP server that > means "write the end of this request, don't close the socket unless [serveral > HTTP conditions]"
"i'm done writing", very sorry. > > destroy() means "kill this connection/file handler right now, don't flush any > pending writes" > > destroySoon() means "kill this connection right after you flush pending > writes" > > close() means "this should probably be destroySoon but this is old code > someone forgot to refactor" > > this will all, hopefully, get cleaned up in the big stream refactor slated > for 0.9 > > On Apr 20, 2012, at April 20, 20123:47 PM, Mark Volkmann wrote: > >> What's the difference between the end and destroySoon Stream methods? >> >> -- >> R. Mark Volkmann >> Object Computing, Inc. >> >> -- >> 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
