Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable TimeOut parameter for closing Close_wait socket connections #229

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

When I run my web service client using staff  with 5 request and get response, 
then I do run netstat command and find that there are 5 close_wait socket 
connections to web service so this proves that  if we do 
SetToAddress(webServiceUrl) for each request , each time new session (axis2c 
endpoint reference is created to web service)is created. and this Close_wait 
connections disappears after say 10 or 15 minutes if we do nothing with web 
service client. We need configurable parameter to close this close_wait socket 
connections after each request. There should be timeOut parameter which can be 
specified to lower this 10 or 15 minutes timeout.

when I googled for axis2c I found AUTO_RELEASE_CONNECTION parameter in 
HTTPSenderImpl.java which closes the session if this parameter is true.

Kindly implement similar parameter for C/C++ version of Axis2c and staff which 
will close session after each request.

Original issue reported on code.google.com by [email protected] on 8 Jan 2015 at 9:23

@GoogleCodeExporter
Copy link
Author

We Are using Unofficial Axis2c Code compiled with openSSL and Staff 64 bit for 
VS 2010 compiled with Unofficial Axis2c Code

Original comment by [email protected] on 8 Jan 2015 at 9:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant