开发者

How do I define how much HTTP connections an Axis2c client should use?

开发者 https://www.devze.com 2023-03-31 05:59 出处:网络
I have a server and client, which communicate with Soap requests. The client is a C++ application, using Axis2c 1.6.0.

I have a server and client, which communicate with Soap requests. The client is a C++ application, using Axis2c 1.6.0.

In the axis options the default HTTP timeout is 30 sec. However, I need to send request every 3 seconds and this generates too mu开发者_StackOverflowch HTTP connections on the server.

There are 40+ HTTP connections opened and "Waiting" and just one "Connected".

How can I reduce those? Can I somehow tell axis2c to reuse connections? Or in other words, if the response is received before the timeout, why this connections stays open for 30 seconds??

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号