Created attachment 999764 [details] Web app with static content Description of problem: When using keep-alive connection to https endpoint using NIO2 connector, according to access log there is received only one request per client, the other requests are not processed resulting in ApacheBench client failing with "apr_pollset_poll: The timeout specified has expired (70007)" Version-Release number of selected component (if applicable): EAP 6.4.0.ER3 How reproducible: always Steps to Reproduce: 1. Unzip EAP distro 2. Deploy attached test.war 3. Load certificate and keystore to $JBOSS_HOME/standalone 4. Configure https and set protocol to NIO2 ([1] or see attached config) 5. Enable access logging 6. Do concurrent requests with enabled keep-alive via ApacheBench (ab -k -n 3 -c 2 -Z DHE-RSA-AES256-SHA -v 3 https://127.0.0.1:8443/test/f256) - two concurrent clients sending in total 3 requests Actual results: ApacheBench client fails with "apr_pollset_poll: The timeout specified has expired (70007)" and in access log there are shown only two processed requests as there are two concurrent clients, the third request is not there. Expected results: All requests are correctly processed and logged in access-log Additional info: No message is shown in logs explaining what happened. With JIO connector it works as expected. [1] <connector name="https" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" socket-binding="https" enabled="true"> <ssl name="http-perf" key-alias="jboss" password="jbossas" certificate-key-file="${jboss.server.base.dir}/server.keystore" cipher-suite="ALL" protocol="TLSv1" verify-client="none" certificate-file="${jboss.server.base.dir}/server.crt"/> </connector>
Created attachment 999769 [details] server key
Created attachment 999770 [details] Server certificate
Created attachment 999771 [details] Server config file