Re: Return a 200 0K status and send the content of the request later

2025-05-15 Thread Vincent Veyron
On Fri, 16 May 2025 01:11:48 +0200 Vincent Veyron wrote: > > I have a working prototype > Well, scratch that, it does work on a slow spinning disk, not on SSD :-\ Also, I'm getting something strange when testing for the presence of a file before removing it, as in : if ( -e $r->docume

Re: Return a 200 0K status and send the content of the request later

2025-05-15 Thread Vincent Veyron
On Tue, 13 May 2025 21:45:35 -0500 Mithun Bhattacharya wrote: Hi Mithun, > You should do the flush after the ContentType - content_type is header the > H3 is body of the response or at least it should be. > I can do that, but then I need to flush again after $r->print('Building tar file') ;

Re: Return a 200 0K status and send the content of the request later

2025-05-15 Thread Vincent Veyron
On Tue, 13 May 2025 22:57:05 -0400 Ed Sabol wrote: Hi Ed, > > Well, the standard way of doing that is you fork a child process to run the > system command while the parent process loops and prints a period (or > whatever you prefer) every 1 second (make sure you call flush() after > printing