Re: [nodejs] Re: nginx inserting junk data into buffered response.write?

2012-03-04 Thread Henry Todd
On 04/03/12 at 03:19pm, mscdex wrote: Not sure of the cause of your problem, but here's a couple of tips you might find useful: You can rewrite lines 45-55 as: http.get(options, function(fb_res) { response.writeHead(fb_res.statusCode, '', fb_res.headers); fb_res.pipe(response); Additionally

Re: [nodejs] nginx inserting junk data into buffered response.write?

2012-03-04 Thread Henry Todd
On 05/03/12 at 12:22am, Ben Noordhuis wrote: That looks like chunk markers (the chunk size in hex) from a Transfer-Encoding: chunked response. It certainly looks that way. The chunks themselves are clean (dumped to file and verified with dhex) and comparing `curl --head` on standalone and ng