Commit 83658e2e authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: doc/TODO:1.5
parent 0a468a2b
......@@ -48,3 +48,23 @@ explicitly).
Implement a mark&sweep gc.
IO
Add flow control to the generic io class. Associate a "window size"
with each read fd, and refuse to accept any more data. That seems
cleaner than doing all flow control at the channel level.
CHANNELS
Create some generic methods for connecting a channel to one or more
files. The data shuffling and error handling should be very similar
for most channel types.
Consider which errors can occur in the channel callback functions;
they are probably somewhat different from errors in higher levels. For
instance, a writing to a file associated with a channel may fail. In
that case, the channel should be closed, but the connection should not
die. Perhaps a few special error codes like LSH_CHANNEL_DIE and
LSH_CHANNEL_CLOSED would do the trick?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment