Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WebSockets build dependency to Linux, Windows
Without this drawpile-srv does not include WebSockets support. Tested on Linux on Debian Bookworm x86 with bookworm-backports packages. Tested on Windows 11 23H2 build 22631.3374: * Temporarily required fox for xz repository unavailability: microsoft/vcpkg#37839 (comment) * Reported listening for WebSocket connections but inbound connections were closed without response rather than registered as a connection unless headers Sec-WebSocket-Version: 13 and Sec-WebSocket-Key: ... were provided; even after that it didn't connect - this was because my nginx server had root directives: # Don't pass request header and body to the server # prevents referer being a problem proxy_pass_request_headers off; proxy_pass_request_body off; # Don't pass the h2 upgrade header, as it breaks Safari proxy_hide_header Upgrade; Resolved by adding the following to the /drawpile-web/ws block: proxy_pass_header Upgrade; proxy_pass_request_headers on; proxy_pass_request_body on;
- Loading branch information