[Libwebsockets] ws test server using 2.4-Stable

Srikar Vadlamani SrikarVadlamani at trafficware.com
Fri Mar 22 21:52:49 CET 2019


I am not able to get any data over websocket connection, when using

libwebsockets-test-server-libev and branch 2.4-stable.



I have used 2.1-stable before without any issues. Has anything changed between the two releases which can cause the issue?

I am also attaching CMakeLIsts.txt.



I also had to disable or comment "extensions", let me know if it can cause an issue.







[cid:image001.png at 01D4E0C7.06B7F5A0]



Srikar Vadlamani



lwsts[903]: libwebsockets test server libev - license LGPL2.1+SLE

lwsts[903]: (C) Copyright 2010-2016 Andy Green <andy at warmcat.com>

Using resource path "/home/srikar/target/libwebsockets-2.4-stable-lib/share/libwebsockets-test-server"

lwsts[903]: libuv support not compiled in

lwsts[903]: Creating Vhost 'default' port 7681, 4 protocols, IPv6 off

lwsts[903]: test_server_fops_open: opening /home/srikar/target/libwebsockets-2.4-stable-lib/share/libwebsockets-test                                                                                                                        -server/test.html, ret 0x1001b350

lwsts[903]: test_server_fops_open: opening /home/srikar/target/libwebsockets-2.4-stable-lib/share/libwebsockets-test                                                                                                                        -server/libwebsockets.org-logo.png, ret 0x1001b700

lwsts[903]: test_server_fops_open: opening /home/srikar/target/libwebsockets-2.4-stable-lib/share/libwebsockets-test                                                                                                                        -server/lws-common.js, ret 0x1001b350

    get  = /

    host: = 172.18.0.103:7681

    connection: = Upgrade

    upgrade: = websocket

    origin: = http://172.18.0.103:7681

    sec-websocket-extensions: = permessage-deflate; client_max_window_bits

    sec-websocket-protocol: = dumb-increment-protocol

    http/1.1  = HTTP/1.1

    accept-encoding: = gzip, deflate

    accept-language: = en-US,en;q=0.9

    pragma: = no-cache

    cache-control: = no-cache

    cookie: = PHPSESSID=4bc58bb302d24803fa75916052c6882a

    sec-websocket-key: = kNtGTCeVBzJ6MjGiWJZvXA==

    sec-websocket-version: = 13

    user-agent: = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.                                                                                                                        86 Safari/537.36

lwsts[903]: callback_lws_mirror: mirror name ''

lwsts[903]: Created new mi 0x1001b5e0 ''


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20190322/e6c3323c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 27658 bytes
Desc: image001.png
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20190322/e6c3323c/attachment-0001.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20190322/e6c3323c/attachment-0001.txt>


More information about the Libwebsockets mailing list