gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: websocket_threaded_example: fix w


From: gnunet
Subject: [libmicrohttpd] branch master updated: websocket_threaded_example: fix websocket url string
Date: Thu, 19 Oct 2023 07:27:32 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 90fcf2fc websocket_threaded_example: fix websocket url string
90fcf2fc is described below

commit 90fcf2fc22d4e4dc58e33d4570c87bd6a1adb2ee
Author: Evgeniy Gavrilenko <zhenya48.80@mail.ru>
AuthorDate: Wed Oct 18 16:00:25 2023 +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").
---
 src/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
index c397df2f..3047fc7d 100644
--- 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"                           \

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]