On Tue, Jul 10, 2012 at 10:37 PM, wavded <[email protected]> wrote:
> Thanks Ben for your response:
>
> Your cat example fixed the problem with wkhtmltopdf but .pipe() doesn't
> close properly so the response never finishes.
>
> ```
> wkhtmltopdf.stdout.pipe(res)
> ```
>
> This starts a download in the browser but never completes (however if I kill
> the server it completes :)
>
> I have a ton of strace -f output, is there anything I should look for, I
> could paste it up somewhere if that helps.

Maybe look at the output of `strace -p $(pidof wkhtmltopdf)`? That
should tell you if and on what wkhtmltopdf blocks.

-- 
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