2009/4/3 John Hite <[email protected]>: > But, I was able to create a test service that I can run in jetty. It seems > that if I run the service non-secured, the Keep-Alive works. If I run the > service over SSL, I get one connection per call. >
Well its plausible that the client-side HttpsUrlConnection doesn't support keep-alive at all, unlike the HttpUrlConnection, as in the secure case the socket creation is delegated to a separate javax.net.ssl.SSLSocketFactory that I guess may have its own socket caching/pooling logic. > In both cases, the KeepAliveParameters were ignored. They were not set in the > headers. Perhaps this parameter is only valid for cxf-2.2? No I don't think so, as I checked this before replying initially, and KeepAliveParameters support is apparently available in 2.1.4. Cheers, Eoghan
