[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] SOAP Webservice and persistent Connections

Stefan Dieringer wrote:

one Question: Is it possible to create persistent Connections when i
connect to the condor webservice ?

On every SOAP request, i've got a "Connection : close" response:

"HTTP/1.1 200 OK[\r][\n]"
"Content-Type: text/xml; charset=utf-8[\r][\n]"
"Content-Length: 3722[\r][\n]"
"Connection: close[\r][\n]"

So it opens on every soap call a new HTTP Connection to the webservice,
which has a timeout till it is closed. In a high multithreaded
application (like mine) the operation system runs out of available
sockets. Thats not good :(

Tested it with Axis/HttpClient, Axis2/HttpClient, HTTP 1.0, HTTP 1.1

Thanks for help, Stefan Dieringer

Hi Stefan -

The HTTP stack built into the Condor daemons is currently setup to refuse http keep-alive options. I think the reason for this limitation may be historical and no longer needed; let me consult on this. If indeed I am correct, we can enable the http keep-alive option for the next developer release, ver 6.9.4 (slated for mid July).