https://bz.apache.org/bugzilla/show_bug.cgi?id=60244

            Bug ID: 60244
           Summary: mod_http2 causes serialized requests if there are
                    parallel long running requests on the same connection
           Product: Apache httpd-2
           Version: 2.4.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_http2
          Assignee: bugs@httpd.apache.org
          Reporter: e-apa...@wthack.de

Hi, I just tried to move my webserver to use http2 and discovered the following
phenomenon.

This happens in chrome as well as in firefox with apache2 2.4.23.

If I open one tab to my http2 enabled domain (using h2) and it does background
ajax long-polling to a php script on the server (The script just does
sleep(30)).
While the longpoll is running, if i try to open a new tab to the same server,
the new request gets stuck in the "pending" state until the longpoll is
finished.
The second request can be against a static .html file (so no php processing)
and still gets stuck.
If I disable http2 for this setup, the requests finish in parallel just fine.

It seems to me that I somehow cause all requests to be serialized for the same
connection but different streams.
This does NOT happen for different connections, so longpoll in chrome and
second request in firefox is fine.

List of my used modules:
core.c, http_core.c, mod_access_compat.c, mod_actions.c, mod_alias.c,
mod_auth_basic.c, mod_authn_core.c, mod_authn_file.c, mod_authz_core.c,
mod_authz_groupfile.c, mod_authz_host.c, mod_authz_unixgroup.c,
mod_authz_user.c, mod_autoindex.c, mod_cgi.c, mod_dav.c, mod_dav_fs.c,
mod_deflate.c, mod_dir.c, mod_env.c, mod_filter.c, mod_headers.c, mod_http2.c,
mod_include.c, mod_info.c, mod_log_config.c, mod_logio.c, mod_mime.c,
mod_negotiation.c, mod_php7.c, mod_proxy.c, mod_proxy_http.c, mod_reqtimeout.c,
mod_rewrite.c, mod_setenvif.c, mod_so.c, mod_socache_shmcb.c, mod_ssl.c,
mod_status.c, mod_unixd.c, mod_version.c, mod_watchdog.c, mod_wsgi.c, prefork.c

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to