| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* web/socket/client.scm (<websocket>)[entropy-port]: New field.
(open-entropy-port): New procedure.
(make-websocket): Open entropy port.
(close-websocket): Close entropy port.
|
|
|
|
|
| |
* web/socket/client.scm (display-websocket): New procedure.
(<websocket>): Set custom record type printer.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* web/socket/frame.scm (read-frame): s/to/too/
|
|
|
|
|
| |
* web/socket/client.scm (close-websocket): Wait for server to close the
connection for a reasonable amount of time.
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* web/socket/frame.scm (write-frame)[masked-data]: Correctly copy the
source bytevector.
|
|
|
|
| |
* web/socket/frame.scm (make-ping-frame): New procedure.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|