[core] gateways might Upgrade con before body read
commitd8dba4ae6a5bd40b1a5afef85449504377b689ee
authorGlenn Strauss <gstrauss@gluelogic.com>
Mon, 9 Oct 2017 04:47:56 +0000 (9 00:47 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Mon, 9 Oct 2017 06:45:12 +0000 (9 02:45 -0400)
tree69c5fc59dc92cce41e6ca405204756d8b701be81
parentb8e6419f3a6516fc64bf91358f940c92cbd0a882
[core] gateways might Upgrade con before body read

some gateways might Upgrade connection before request body is read

(mod_wstunnel sets con->file_started = 1 and -1 == hctx->wb_reqlen
 and sends Connection: upgrade and Upgrade: websocket before reading
 request body)

x-ref:
  "wstunnel sample config"
  https://redmine.lighttpd.net/boards/2/topics/7600
src/gw_backend.c