wso2wso2-esbapache-axiswso2-enterprise-integrator

WSO2 EI - 6.6.0 https request CLOSE_WAIT


I have a problem with wso2 EI 6.6.0. I send a https request to wso2 (soap proxy services) with a connection:close header. calls the endpoint and returns a response to the client. problem is - the connection remains in the close_wait state on the server (linux) (telnet | grep CLOSE_WAIT) and with each new call, the number of connections in the close_wait state will increase.

only solution is add this parameters to service.

<header action="remove" name="connection:close" scope="transport"/>
     <header action="remove" name="connection" scope="transport"/>
     <property action="remove" name="connection" scope="axis2"/>

but it's not perfect because I must to modify all the services. is there a solution how to set this at the wso2 level? is this a bug in wso2 or axis?


Solution

  • it was this problem: https://github.com/wso2/wso2-httpcore-nio/pull/38. now its working