[users@httpd] Re: mod_proxy_wstunnel hijacks subsequent http requests in same tcp connection after websocket handshake error

2020-11-25 Thread Jon Harper
A simpler repro is: # in one terminal # a cheap backend server $ while ((1)); do (echo -ne "HTTP/1.1 401 Unauthorized\r\nContent-Length: 0\r\n\r\n" ; cat ) | nc -l 9000; done # in another terminal, launch official httpd docker image $ docker run -p 8080:8080 httpd:2.4 bash -c 'echo -ne "Listen 80

[users@httpd] mod_proxy_wstunnel hijacks subsequent http requests in same tcp connection after websocket handshake error

2020-11-25 Thread Jon Harper
Hi list, I'm seeking help for the following problem. I have an httpd doing two things: - serving files - reverse proxying websockets to a backend server. In the general case, things work fine. However, when the websocket server refuses the websocket handshake with httpd by replying 401 Unauthoriz