summaryrefslogtreecommitdiffhomepage
path: root/test/unit
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-08-30 00:07:54 +0300
committerMax Romanov <max.romanov@nginx.com>2019-08-30 00:07:54 +0300
commit7053a35a60bdacdfcf1277dd8f08f6c46c8028c7 (patch)
tree2541faa49735325e5ebdf4314448ae57da4584f9 /test/unit
parente2abfaf381984b9c441555a3614336b64008c80d (diff)
downloadunit-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