Skip to content

Commit

Permalink
Major reworking of RPC & session layer to support listen/unlisten
Browse files Browse the repository at this point in the history
  * Adds new "host-to-daemon" (and vice versa) RPC calls/broadcast
  * Hosts have to authenticate (using PASETO token) to the daemon
     before communicating with it
  * Both web-host and telnet-host now can manage multiple listeners
  * They report their listeners to the daemon
  * Daemon can requre hosts of a given type to add listeners (bind to
    a new port)
  * Listeners can talk to things other then #0.
  * This is then used to implement LambdaMOO compatible
    listen/unlisten/listeners
  * Some room made to add `open_network_connection` in the future.
  • Loading branch information
rdaum committed Nov 14, 2024
1 parent 67f26e9 commit 6e7c38e
Show file tree
Hide file tree
Showing 43 changed files with 2,345 additions and 1,134 deletions.
137 changes: 11 additions & 126 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resolver = "2"

members = [
"crates/compiler",
"crates/console-host",
"crates/daemon",
"crates/db",
"crates/db-relbox",
Expand All @@ -29,7 +28,6 @@ default-members = [
"crates/daemon",
"crates/telnet-host",
"crates/web-host",
"crates/console-host",
"crates/moot",
]

Expand Down
38 changes: 0 additions & 38 deletions crates/console-host/Cargo.toml

This file was deleted.

Loading

0 comments on commit 6e7c38e

Please sign in to comment.