i use 302 just to tell the browser that the file is temporary moved to another location which is the location that i set after removing the range=xxx-yyy parameter in the query, previously i didn't use 302 just used whatever the FwRes.statusCode gave and as well the same issue

another thing i noticed as well is that the memory always increasing and never drops down as if the data fetched never gets free after being served

much regards


On 06/09/2012 04:32 PM, Soren wrote:
Why are you using 302 ?

On Jun 9, 2:19 am, degreane<[email protected]>  wrote:
var AdyRequestHandler = function(req,res){

......
         var FwReq = http.get(myheaders,function(FwRes){
                 res.writeHead(302,FwRes['headers']);
                 FwRes.on('data',function(chunk){
                         res.write(chunk);
                 });
                 FwRes.on('end',function(){
                         res.end();
                 });
         });

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