summaryrefslogtreecommitdiff
path: root/libs/surfaces/websockets/server.cc
AgeCommit message (Collapse)Author
2020-04-17WebSockets: rename _lws_mnt_index to _lws_mnt_rootLuciano Iam
This mount point not only serves the index but everything that is under / , including the built-in surfaces directory
2020-04-17WebSockets: improve JS client and demoLuciano Iam
add methods to callback.js automatically reconnect js client on disconnection mixer-demo do not recreate UI on reconnection NO-OP: indentation in message.js make client JS reconnection optional fix mixer-demo scrolling minor JS client refactor improve mixer-demo readability
2020-04-17WebSockets: allow serving SVG files using libwebsockets < 3Luciano Iam
2020-04-13WebSockets: rename send_index_* to send_availsurf_* to avoid confusion with ↵Luciano Iam
a static index page
2020-04-13WebSockets: rename resource index.json to more meaningful surfaces.jsonLuciano Iam
2020-04-11WebSockets: always return -1 from send_index_body() unless there is a write ↵Luciano Iam
error
2020-04-11WebSockets: add useful comment on lws_write()Luciano Iam
2020-04-11WebSockets: use lws_strncpy() when availableLuciano Iam
2020-04-11WebSockets: fix timeout when sending HTTP bodyLuciano Iam
2020-04-09Fix some Wunused-resultRobin Gareus
2020-04-09Clean up and prepare for HTTPLuciano Iam
2020-03-26Fix websocket to glib IO condition mappingRobin Gareus
2020-02-27Fix libwebsockets compatRobin Gareus
LWS_CALLBACK_HTTP_CONFIRM_UPGRADE is only available since v3.1.0
2020-02-27Avoid occasional response delay when handling HTTP in the websockets surfaceLuciano Iam
2020-02-27Make previous commit 81ecc2b compatible with libwebsockets==2Luciano Iam
2020-02-27Gracefully reject HTTP requests reaching the websockets surfaceLuciano Iam
2020-02-24Websockets: error on unhandled callbacksRobin Gareus
This prevents unhandled http request from hogging the backend.
2020-02-24Websockets: use established NDEBUG - see assert(3)Robin Gareus
2020-02-23NO-OP: Re-indent websockets codeRobin Gareus
"Always use Tabstops for block-indent (the code must be formatted correctly with "[TAB] = N spaces" for any value of N). Use space only for alignment." - https://ardour.org/styleguide.html
2020-02-22Fix Unix compile with older libwebsocketsRobin Gareus
Debian/Ubuntu still only ship libwebsockets 2.x. Recent libWS abstracts the poll interface to be compatible with Windows.
2020-02-22Prefix events with LWS_Luciano Iam
2020-02-22Properly initialize IOCondition in events_to_ioc()Luciano Iam
2020-02-22Properly initialize lws config structsLuciano Iam
2020-02-22Remove all initializer list usagesLuciano Iam
2020-02-22Make code adhere to C++98 (WIP)Luciano Iam
2020-02-22Add websockets surface moduleLuciano Iam