[ http://issues.apache.org/jira/browse/AXIS2-670?page=comments#action_12377972 ]
Dennis Sosnoski commented on AXIS2-670: --------------------------------------- The timeout value is being used in the sendReceive method for the non-blocking case, though I haven't looked through the logic on this completely (why is the code waiting at all, since I thought that form of the call was not supposed to block?). For the regular blocking case (where the calling thread sends the request to the server and waits for a response before returning) the timeout is not currently applied. The JavaDoc of the setTimeOutInMilliSections() method says it applies in the blocking case. Patch now attached - Jira was giving me too busy failures earlier. > Client does not apply timeout to HTTP connection > ------------------------------------------------ > > Key: AXIS2-670 > URL: http://issues.apache.org/jira/browse/AXIS2-670 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: core > Versions: 1.0 > Environment: n/a > Reporter: Dennis Sosnoski > Attachments: timeout.diff > > The client code does not apply the timeout value specified by the user (via > _getServiceClient().getOptions().setTimeOutInMilliSeconds()). Fix is attached > as diff, not committing it myself because of the imminent 1.0 release. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira