> Am 27.06.2016 um 10:41 schrieb Yann Ylavic <ylavic....@gmail.com>: > > On Mon, Jun 27, 2016 at 10:23 AM, Stefan Eissing <ste...@eissing.org> wrote: >> This looks nice for HTTP/1.1, but what about other protocols? Do I read it >> correctly that any pending data downstream will reopen the connection? > > Hmm, I did not think about mod_proxy_h2, but correct (I'd rather say > upstream though, backend side). > Are there cases where some backend data are available before the > request is sent?
In HTTP/2, yes. For example a PING frame might be waiting, or a SETTINGS change. Most backends will have short timeouts for answers to these (SETTINGS is expected to be ACKed soonish), but races may happen. Also, HTTP/2 extensions with new frame types that need to be ignored when not known may get received here. Again, the added check is very good for HTTP/1, but not for protocols that already have request/response protection and delimiters. Can we see which proxy module is involved on the connection? Do we see the scheme there? That might be a way to whitelist the check. -Stefan