开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜