about summary refs log tree commit diff stats
path: root/src/buffer/select.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-09-14 00:58:33 +0200
committerbptato <nincsnevem662@gmail.com>2023-09-14 00:58:33 +0200
commitc2004e4aba182473e79100759a2d58e1bd7d184c (patch)
tree1c3ebe2ee06471053656e7ee7da1fb27a576c691 /src/buffer/select.nim
parentf4a169ebca315246dd547efce181668d83c73d0b (diff)
downloadchawan-c2004e4aba182473e79100759a2d58e1bd7d184c.tar.gz
Switch buffer -> client connection to client -> buffer
We now connect to buffers from the client, instead of connecting
buffers to the client. This has the following advantages:

* Simplifies the client event loop.
* Makes the client a real client (no more serversocket dependency).
* Slightly more secure, as we no longer have to trust buffers not
  lying about their process ids.
* Facilitates the potential future addition of connections from
  several clients to a single buffer.
Diffstat (limited to 'src/buffer/select.nim')
0 files changed, 0 insertions, 0 deletions