Salut,
you have find a bug :-) Just add response.flushBuffer() after your write
and that will works. I will fix that ASAP.
A+
-- jeanfrancois
Jeanfrancois Arcand wrote:
>
>
> rama wrote:
>>> So you will eventually call resume, right?
>>>
>>>
>>
>> actually on example, resume is called
>>
>>>> static class FakeSession extends Thread {
>>>> protected GrizzlyResponse res;
>>>> private static FakeSession fake = new FakeSession();
>>>> public void run() {
>>>> try {
>>>> System.out.println("START");
>>>> Thread.sleep(1000);
>>>> } catch (InterruptedException e) {
>>>> // TODO Auto-generated catch block
>>>> e.printStackTrace();
>>>> }
>>>> res.resume(); ---> HEY I AM A RESUME }
>>
>>
>>> Call resume() and it will be executed.
>
> I've missed that one. Can you increate the suspend timeout (put 10 000)
> as I suspect you have a race here.
>
>
>>>
>>>
>>
>> i see the System.out (this means that resume is correctly issued)
>>>
>>> System.out.println("RESUME"); ----> GOT
>>>
>>
>> but no output is show on browser :D
>
> Which version? I did try with 1.9.1 and works fine.
>
> Thanks
>
> -- jeanfrancois
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>