Skip to content

Configurable TimeOut parameter for closing Close_wait socket connections #229

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 shekhard...@gmail.com on 8 Jan 2015 at 9:23

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions