Hi guys,
as I'm trying to document the IoProcessor main loop, I saw that the
read( Session ) does read a buffer and then immediately push it to the
chain, regardless there are more bytes in the socket :
private void read(T session) {
IoSessionConfig config = session.getConfig();
Hi,
There is a problem with the fairness against writes no ?
You can perhaps saturate the IoP with reading ?
Julien
Le Thu, 30 Jul 2009 21:18:19 +0200,
Emmanuel Lecharny a écrit :
> Hi guys,
>
> as I'm trying to document the IoProcessor main loop, I saw that the
> read( Session ) does read a b
Julien Vermillard wrote:
Hi,
There is a problem with the fairness against writes no ?
You can perhaps saturate the IoP with reading ?
yes, probably, but I think it would be better then to use a
configuration parameter to ensure the fairness, like the maximum size we
can read before passing