Hi Imre,
my fault, this is regression introduced by recent refactoring.
http://java.net/jira/browse/GRIZZLY-1209
It's going to be fixed on trunk and Grizzly 2.2.2.
Meanwhile I will appreciate if you can check Grizzly 2.2.2-SNAPSHOT for
the snapshots maven repository [1] and let us know if it works for you.
Thanks.
WBR,
Alexey.
[1]
https://maven.java.net/content/repositories/snapshots
On 02/28/2012 12:25 AM, imre.fazekas_at_gmail.com wrote:
> Dear All,
>
>
> I'm using Grizzly 2.2 over latest Java6 sdk and the class
> NonBlockingDownloadHandler from the samples to provide download
> handler.
> My problem is that if I put web page to a given folder, and open it in
> a browser, sometimes the browse downloads the files sometimes , fails
> to open the page especially the javascript files. On the browser
> console javascript errors appear. Or half loaded images...
>
> Changing this NonBlockingDownloadHandler to a blocking one, everything
> is fine. The web page downloads perfectly.
> From NonBlockingDownloadHandler side i see no exceptions or anything, I
> added content length settings to but changed nothing.
>
> Any idea would be much appreciated.
>
>
> Best regards,
>
> Imre