in reply to Re^2: Response timeout solution
in thread Response timeout solution

I mean headers that contribute nothing to the response, just to show the client that "things are still going on". You might need to switch off buffering so that the client sees these headers and gets these as quickly as possible:

Status: 200 OK X-Bogus-Header: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx X-Bogus-Header: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ... X-Bogus-Header: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Content-Type: text/html <html> <body> ...

Replies are listed 'Best First'.
Re^4: Response timeout solution
by vit (Friar) on Jun 14, 2011 at 15:31 UTC
    You might need to switch off buffering so that the client sees these headers and gets these as quickly as possible:

    How to switch buffering off ?
Re^4: Response timeout solution
by vit (Friar) on Jun 14, 2011 at 12:16 UTC
    But my computations which take 60sec+ start after
    <html> <body> ...

      But my computations which take 60sec+ start after

      Then see Re^3: Response timeout solution, or change your program so it does the

      my $data = calculation (); print content_type(), htmlFrom($data);