Yes, on the old platform write() always returned false, so my code was not prepared to deal with a true. :-S
the solution was to, at the end of the callback for readFile, to call writeUntilBufferFull directly. On Friday, October 3, 2014 12:42:08 PM UTC-4, mscdex wrote: > > On Thursday, October 2, 2014 11:48:02 PM UTC-4, P. Douglas Reeder wrote: >> >> I can tell the following code executes as far as logging "second piece >> of index-colorbox.html written", but not to logging >> "writeUntilBufferFull()". >> >> > Have you checked the return values of your `.write()` calls? IIRC you will > only see 'drain' if `.write()` returns false. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/930b406c-aae0-46ee-8deb-6bda152033ab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
