users@grizzly.java.net

Re: grizzly-sendfile bugs for 1.9.5

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 29 Apr 2009 20:30:10 -0400

Salut,

Igor Minar wrote:
> Hi guys,
>
> following http://twitter.com/project_grizzly/statuses/1649157373/
>
> here are two bugs that currently complicate my life:
>
> https://grizzly.dev.java.net/issues/show_bug.cgi?id=336 - reopened bug
> with an untested patch provided by me. I'll try to test it today to
> confirm that it works as expected.
>

Patch applied. See comments in the issue.

> https://grizzly.dev.java.net/issues/show_bug.cgi?id=548 - I'll create a
> grizzly-sendfile distro that uses the grizzly web server so that you can
> easily reproduce the error.

OK thanks. I've added my comments on the issue as well. Clearly the
connection seems to times out, either because of the SelectionKeyHandler
doesn't do the right things or the InputReader timeout is to small. Just
try to do SelectionKey.attach(Long.MAX_VALUE) from your code to see if
that help.

Thanks

-- Jeanfrancois

>
> cheers,
> Igor
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>