Tim McClure wrote: > Marcel, > > I do not know if this applies but the WebServer class supply times the > socket out at 30 seconds, even in keep alive mode. The feel here is that > for a web server you do not want to persist a connection indefinitely so I > made my client send a keep-alive message when it is idle for 5 seconds.
My problem is as follows: client --- proxy ----- server I open a scoket connection from client to proxy, with a POST http://server ... this works fine. 1) Now i can send through this socket many request (works fine). 2) Then i tried to send a request and push many data packages back to the client (works fine). Now i try to do 1) and 2) simultaneously, but the proxy kicks me off (the code works fine without proxy). This is not timeout related as the test runs through in some milliseconds. This is a bit offtopic, but i hoped you have some experience with such things. thanks, Marcel > > Tim > > -----Original Message----- > From: Marcel Ruff [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 19, 2002 3:33 PM > To: [EMAIL PROTECTED] > Subject: Persistent http > > > Hi, > > it is more a general question about Keep-Alive HTTP 1.1. > > Hannes has some code in XmlRpc supporting this but > if i remember right he mentioned that there are problems with it. > > I try currently to setup a persistent http connection with > an own socket implementation and it is not very stable/persistent. > > What where your problems and how did you solve them? > Are there any links covering this topic? > > thanks > > Marcel > > > > -- Marcel Ruff mailto:[EMAIL PROTECTED] http://www.lake.de/home/lake/swand/ http://www.xmlBlaster.org