Re: [Dev] [ApplicationServer] ConnectionTimeout vs SocketTimeout
Hi Udara, see the Low level TCP timeouts section of [3]. socket_timeout is a low level setting on TCP level. setting this value is supported only by OS's like Windows, Linux. [3] http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html On Tue, Aug 19, 2014 at 11:25 AM, Supun Malinga sup...@wso2.com wrote: Hi Udara, As per tomcat documentation [2] correct parameter should be ConnectionTimeout. Not sure why [1] lists SocketTimeout since its not mentioned in [2]. [2] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html thanks, On Tue, Aug 19, 2014 at 11:09 AM, Udara Liyanage ud...@wso2.com wrote: Hi, I want to increase response timeout of ApplicationServer since default timeout is not enough with due to slowness of the backend endpoint. I found ConnectionTimeout and SocketTimeout as suspectable properties mentioned in the documentation [1]. What is/are the difference between both parameters? [1] https://docs.wso2.com/display/AS521/HTTP+Servlet+Transport -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ApplicationServer] ConnectionTimeout vs SocketTimeout
Hi, I want to increase response timeout of ApplicationServer since default timeout is not enough with due to slowness of the backend endpoint. I found ConnectionTimeout and SocketTimeout as suspectable properties mentioned in the documentation [1]. What is/are the difference between both parameters? [1] https://docs.wso2.com/display/AS521/HTTP+Servlet+Transport -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ApplicationServer] ConnectionTimeout vs SocketTimeout
Hi Udara, As per tomcat documentation [2] correct parameter should be ConnectionTimeout. Not sure why [1] lists SocketTimeout since its not mentioned in [2]. [2] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html thanks, On Tue, Aug 19, 2014 at 11:09 AM, Udara Liyanage ud...@wso2.com wrote: Hi, I want to increase response timeout of ApplicationServer since default timeout is not enough with due to slowness of the backend endpoint. I found ConnectionTimeout and SocketTimeout as suspectable properties mentioned in the documentation [1]. What is/are the difference between both parameters? [1] https://docs.wso2.com/display/AS521/HTTP+Servlet+Transport -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev