On Thu, 24 Jan 2013 15:47:34 -0600
Eduardo Silva <[email protected]> wrote:

> On Sun, Dec 16, 2012 at 9:45 AM, Lauri Kasanen <[email protected]> wrote:
> > cgit is too fast for epoll, causing epoll to send a hangup event
> > even though there are still several kilobytes left to read.
> >
> > With this change, cgit can correctly send huge files on monkey.
>
> is this the case where epoll triggered a read event and then a hangup event
> but in the last read the code did not read all pending data ?

Yes. There was a read event for some huge amount (up to 64kb?), but we can only 
read up to 1kb (the current buffer size).

After the hangup event, no more read events are sent, so to the user it appears 
like a hangup or corrupted file.


- Lauri
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to