yob/em-ftpd — pull request #1 by d--j (2011-12-11 03:55:01+00:00)
Title: Downloading without blocking the reactor

The current implementation of em-ftpd sends out the whole out-of-band data (e.g. file downloads) in one big loop. This blocks the reactor for the whole time - not nice when you want to be able to download files in the gigabytes.

This commit adds the class IOStreamer that handles sending out-of-band data to the client. It does not block the reactor by sending big files in smaller chunks.