You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Deja User <la...@my-deja.com> on 2001/02/21 02:44:11 UTC

Persistent connection ?

Hi all ,

   I have never done such a thing before , so would appreciate if you people could help me out .

   So i have a client application wanting to upload chunks of data to the webserver .

   Now the way i want this to happen is to have the client open a connection to the webserver ,send the headers do the initial authentication both ways and then start sending chunks of data ,after receiving each chunk of data the webserver (mod perl script) would process the data and send an acknowledgement to the client and then the client continues with the second upload and so on without 
the client closing the connection .

  The webserver is parsing the headers and using the rewrite rules to decide which script to run on the fly when the request is made , so in the above scenario this information would be sent just once before the upload of the first chunk of data ,so in short the script should somehow remain in the apache child to accept the next set of data .

  Could you comment on this ?

thanks,
Sachin

 




------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/