xml-rpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Hoegg <rho...@isisnetworks.net>
Subject Re: Problems with setting HTTP Keepalive
Date Tue, 11 Jun 2002 17:51:00 GMT
woops, meant for the -user list.  For you guys, I will be integrating 
HTTPClient from the Commons in the Client classes.


Ryan Hoegg wrote:

> Currently, the XmlRpcClient and XmlRpcClientLite use a simple 
> implementation of an http client.  This implementation does not 
> support many extended HTTP features.  I am currently working on a 
> change to the code that will enable this functionality, so possibly 
> look for it in a future release!
> --Ryan Hoegg
> John Perrotto wrote:
>> Hi All,
>> I'm using an HttpServlet to host my XmlRpcServer.  I want to enable the
>> HTTP keep-alive feature between my client and server apps.  I've called
>> the method XmlRpc.setKeepAlive(true) on the server and client-side.  My
>> Java client is using the
>> org.apache.xmlrpc.XmlRpcClient.SecureXmlRpcClient and indeed the HTTP
>> header being sent in the client request contains "connection -
>> Keep-Alive" BUT it appears that a new connection is being made by the
>> client with each request.  The same thing is happening as well if I use
>> an XmlRpcClient or XmlRpcClientLite client object.   The funny thing is
>> that I also have a COM based client application that's hitting this same
>> XmlRpc Servlet and it's working properly reusing the same connection.
>> Does anybody have any clues or suggestions?   Am I missing some
>> configuration parameter?  Could there be a problem with any of these
>> Apache client implementations?  Thanks in advance for you help!
>> JohnP

View raw message