server/src
Дамјан Георгиевски 803ffc0c99 use futures::sync::mpsc::channel() with 4MB buffer
… instead of unbounded() with no limits in buffering

this should implement a back pressure, when the client can't read the
response fast enough, the thread creating the archive would block the
write, instead of filling the memory.

Use Sink::wait() to make a blocking Sender
2018-07-07 23:49:46 +02:00
..
channel.rs use futures::sync::mpsc::channel() with 4MB buffer 2018-07-07 23:49:46 +02:00
main.rs refactor: split code in multiple files 2018-07-05 17:48:40 +02:00
web.rs refactor: split code in multiple files 2018-07-05 17:48:40 +02:00