summaryrefslogtreecommitdiff
path: root/web/socket/server.scm
Commit message (Collapse)AuthorAgeFilesLines
* Distinguish close frames from timeouts.Matthew Wolff2024-05-091-4/+6
|
* client: Handle control frames in websocket-receive.Andrew Whatson2023-04-211-36/+6
| | | | | | | | | * web/socket/frame.scm (read-data-frame): New procedure, extracted from serve-client. * web/socket/client.scm (websocket-receive): Call read-data-frame. Clean up the websocket if the connection was closed. * web/socket/server.scm (serve-client): Call read-data-frame. Flush the port after writing the handshake response.
* Use inet-pton instead of inet-aton.Jan (janneke) Nieuwenhuizen2021-03-181-1/+3
| | | | | * web/socket/server.scm (make-server-socket): Add #:family parameter and use it for inet-pton.
* Extract accept key generation to a new module.David Thompson2016-03-251-13/+2
| | | | | | | * web/socket/server.scm (handshake): Moved. (make-handshake-response): Use new make-accept-key procedure. * web/socket/utils.scm: New file. * Makefile.am (SOURCES): Add it.
* server: Handle client disconnects in a more robust manner.David Thompson2016-03-251-3/+14
| | | | | | * web/socket/server.scm (serve-client): Handle EOF object and client sockets that have closed while trying to echo the close frame. (run-server): Ignore SIGPIPE to prevent server crashes.
* Add missing "Lesser" in licensing comments.David Thompson2015-12-091-3/+3
|
* Move base64 and SHA-1 modules to (web socket) namespace.David Thompson2015-12-091-2/+2
|
* Add LGPL license information.David Thompson2015-11-081-0/+25
|
* server: Allow handler to ignore messages.David Thompson2015-11-081-9/+13
|
* Add (web socket server) module.David Thompson2015-11-071-0/+116