libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 90fcf2fc22d4e4dc58e33d4570c87bd6a1adb2ee
parent 6336d8c796a30971e0eb57d5658de064e3c3be45
Author: Evgeniy Gavrilenko <zhenya48.80@mail.ru>
Date:   Wed, 18 Oct 2023 16:00:25 +0700

websocket_threaded_example: fix websocket url string

Remove extra space character from websocket url string.

The code was broken by beb7fa82 ("fix transmission stall issue with upgraded
TLS connections reported by Nguyen Xuan Viet on the mailinglist").

Diffstat:
Msrc/examples/websocket_threaded_example.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/examples/websocket_threaded_example.c b/src/examples/websocket_threaded_example.c @@ -39,7 +39,7 @@ "<title>WebSocket chat</title>\n" \ "<script>\n" \ "document.addEventListener('DOMContentLoaded', function() {\n" \ - " const ws = new WebSocket('ws:/" "/ ' + window.location.host);\n" \ + " const ws = new WebSocket('ws:/" "/' + window.location.host);\n" \ " const btn = document.getElementById('send');\n" \ " const msg = document.getElementById('msg');\n" \ " const log = document.getElementById('log');\n" \