Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | client: Keep track of socket state. | David Thompson | 2016-03-25 | 1 | -12/+37 |
| | | | | | | | | | | | * web/socket/client.scm (<websocket>)[state]: New field. (websocket-state, set-websocket-state!): New field accessors. (websocket-connecting?, websocket-open?, websocket-closing?, websocket-closed?): New procedures. (handshake): Set socket to 'open' state after successful handshake. (make-websocket): Set socket to 'connecting' state initially. (close-websocket): Set socket to 'closing' before sending close frame, and then to 'closed' underlying TCP socket is closed. | ||||
* | frame: Fix typo in error message. | David Thompson | 2016-03-25 | 1 | -1/+1 |
| | | | | * web/socket/frame.scm (read-frame): s/to/too/ | ||||
* | client: Wait for server to close connection. | David Thompson | 2016-03-25 | 1 | -1/+12 |
| | | | | | * web/socket/client.scm (close-websocket): Wait for server to close the connection for a reasonable amount of time. | ||||
* | server: Handle client disconnects in a more robust manner. | David Thompson | 2016-03-25 | 1 | -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 client module. | David Thompson | 2016-03-24 | 1 | -0/+143 |
| | |||||
* | Add missing "Lesser" in licensing comments. | David Thompson | 2015-12-09 | 2 | -6/+6 |
| | |||||
* | Move base64 and SHA-1 modules to (web socket) namespace. | David Thompson | 2015-12-09 | 3 | -2/+587 |
| | |||||
* | frame: Fix masking error in write-frame. | David Thompson | 2015-12-02 | 1 | -2/+1 |
| | | | | | * web/socket/frame.scm (write-frame)[masked-data]: Correctly copy the source bytevector. | ||||
* | frame: Add make-ping-frame. | David Thompson | 2015-12-02 | 1 | -4/+11 |
| | | | | * web/socket/frame.scm (make-ping-frame): New procedure. | ||||
* | Add LGPL license information. | David Thompson | 2015-11-08 | 2 | -0/+50 |
| | |||||
* | frame: Improve doc strings and comments. | David Thompson | 2015-11-08 | 1 | -3/+14 |
| | |||||
* | server: Allow handler to ignore messages. | David Thompson | 2015-11-08 | 1 | -9/+13 |
| | |||||
* | Fix typo. | David Thompson | 2015-11-07 | 1 | -1/+1 |
| | |||||
* | Add (web socket server) module. | David Thompson | 2015-11-07 | 1 | -0/+116 |
| | |||||
* | Improve frame module. | David Thompson | 2015-11-07 | 1 | -17/+87 |
| | |||||
* | Add (web socket frame) module. | David Thompson | 2015-11-07 | 1 | -0/+263 |