commit | 90ac605ef35d60323cfe4bc26cd56c2f97dc2277 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Mon Oct 18 14:45:49 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Nov 03 16:24:48 2021 +0100 |
tree | b425382b3fe62692371fc3fd2be5daba2ff2d4a2 | |
parent | 0df043608f53cdb367586714e3ba0a7a3e2b0e89 [diff] |
MINOR: stream/mux: implement websocket stream flag Define a new stream flag SF_WEBSOCKET and a new cs flag CS_FL_WEBSOCKET. The conn-stream flag is first set by h1/h2 muxes if the request is a valid websocket upgrade. The flag is then converted to SF_WEBSOCKET on the stream creation. This will be useful to properly manage websocket streams in connect_server().