Update web, websocket servers for recent actor changes.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 3 Aug 2017 15:29:39 +0000 (10:29 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 3 Aug 2017 20:50:20 +0000 (15:50 -0500)
commit0de8ac7a40e29cbc84924936faa13acf7c5f29db
treef4830f5f3ebac097a937c14e8c80e22f101d1523
parent5a22e8e14aa50d73482453f0bb74a3540b533419
Update web, websocket servers for recent actor changes.

* 8sync/systems/web.scm (<web-server>): Remove *init* and *cleanup*
action handlers.
(actor-init!, actor-cleanup!): Add method definitions for <web-server>.
(web-server-socket-loop, web-server-client-loop): Use
with-actor-nonblocking-ports.
(web-server-client-loop): Removed.
* 8sync/systems/websocket/server.scm (websocket-client-loop)
(websocket-server-send): Wrap I/O behavior in with-actor-nonblocking-ports.
8sync/systems/web.scm
8sync/systems/websocket/server.scm