applied

On Sun, Dec 16, 2012 at 7:21 AM, Lauri Kasanen <[email protected]> wrote:

> Hi
>
> Dirlisting is not designed to support event-based working, it is one-shot.
>
> So in a big directory, writev would return EAGAIN (EWOULDBLOCK) after
> having written a partial entry.
>
> This would then confuse the client in chunked mode (you promise X bytes but
> only send less), which closes the connection, leaving you with a partial
> listing.
>
> With this patch, dirlisting succeeds in a dir with 23k entries.
> Without, it fails in a dir with little over 1k entries.
>
>
> - Lauri
>
> _______________________________________________
> Monkey mailing list
> [email protected]
> http://lists.monkey-project.com/listinfo/monkey
>
>


-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://www.monkey-project.com
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to