[
https://issues.apache.org/jira/browse/AXIS2C-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251432#comment-13251432
]
Sebastian Brandt commented on AXIS2C-1568:
------------------------------------------
Bump.
Unfortunately, it is impossible to "configure" the Keep-Alive option - it is
documented in axis2.xml, but the flag is not read.
Only way to use axis2c for me is to patch the code to always set keep-alive to
false.
src\core\transport\http\sender\http_transport_sender.c:627
AXIS2_INTF_TO_IMPL(transport_sender)->keep_alive = AXIS2_FALSE;
(also http_transport_sender.c:118 and http_sender.c:217, but those do not seem
to be the important ones).
Note: the "Keep-Alive" flag is read from msg_ctx in http_sender.c:392, but
never written into it, esp. never read from axis2.xml.
Sebastian
> In keep alive mode, client reuses a connection even if the connection has
> already closed.
> -----------------------------------------------------------------------------------------
>
> Key: AXIS2C-1568
> URL: https://issues.apache.org/jira/browse/AXIS2C-1568
> Project: Axis2-C
> Issue Type: Bug
> Components: transport/http
> Affects Versions: 1.7.0
> Environment: no libcurl
> Reporter: Akira Suzuki
> Priority: Minor
>
> In keep alive mode, client keeps and reuses connection.
> If client reuses it in short time, it works fine. If not, server may close
> the connection because of timeout and it causes an error on client side when
> client try to reuse the connection.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]