diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-08-30 00:07:54 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-08-30 00:07:54 +0300 |
commit | 7053a35a60bdacdfcf1277dd8f08f6c46c8028c7 (patch) | |
tree | 2541faa49735325e5ebdf4314448ae57da4584f9 /test/unit | |
parent | e2abfaf381984b9c441555a3614336b64008c80d (diff) | |
download | unit-7053a35a60bdacdfcf1277dd8f08f6c46c8028c7.tar.gz unit-7053a35a60bdacdfcf1277dd8f08f6c46c8028c7.tar.bz2 |
Fixed WebSocket implementation that was broken on some systems.
The "nxt_http_websocket" request state, defined in "nxt_http_websocket.c",
is used in "nxt_router.c" and must be linked with external symbol declared
in "nxt_router.c".
Due to the missing "extern" keyword, building Unit with some linkers
(notably gold and LLD) caused WebSocket connections to get stuck or even
crash the router process.
Diffstat (limited to 'test/unit')
0 files changed, 0 insertions, 0 deletions