Hi Etienne,
thank you very much for the testcase.
We've fixed the issue [1], it will be available in the next 1.9.20
release, which we plan this week.
Thanks.
WBR,
Alexey.
[1]
https://grizzly.dev.java.net/issues/show_bug.cgi?id=898
On Oct 12, 2010, at 11:30 , Vrignaud Etienne wrote:
> Hi,
>
> The echo.zip file that I provide in attachment contain a complete
> test case that you can use.
> I have made a new zip to name correctly the test case class
> 'echoTest.java' so that maven can launch it.
>
> Just unzip project and type 'mvn clean install'.
>
> Regards,
> /Etienne
>
> -----Message d'origine-----
> De : Oleksiy Stashok [mailto:oleksiy.stashok_at_oracle.com]
> Envoyé : mardi 12 octobre 2010 11:08
> À : users_at_grizzly.dev.java.net
> Objet : Re: Error suspending the Response of a POST that have a big
> input payload
>
> Hi Etienne,
>
> can you pls. provide a small sample how I can reproduce the issue.
> I'll be glad to help you.
>
> WBR,
> Alexey.
>
> On Oct 9, 2010, at 7:34 , Vrignaud Etienne wrote:
>
>>
>> Hi,
>>
>> I am trying to use the suspend/resume API of the Response class.
>> My use case is to send to my sever a big payload using a POST
>> request.
>> When I use suspend/resume I have the following error: "GRAVE:
>> GRIZZLY0040:
>> Request header is too large.
>>
>> java.nio.BufferOverflowException"
>>
>> Here is a description of what I am doing:
>> . I use grizzly 1.9.19
>> . I use a http://old.nabble.com/file/p29920874/echo.zip echo.zip
>> SelectorThread in synchronous mode
>> "setEnableAsyncExecution( false )". Is
>> that correct ?
>> . I suspend the response before reading the input payload.
>> . I start a thread that will manage the Request
>>
>> I have noticed that before my thread finished to read the complete
>> input
>> payload, another Grizzly thread is started and use the content of my
>> payload
>> as a new request.
>> What I am wondering is that the Response is suspended, but not the
>> Request.
>>
>> I have provided in attachment a maven project that contain my
>> failing test
>> case. (echo.zip)
>>
>> Could you tell me what's going wrong with that usage of suspend/
>> resume.
>>
>> Thanks for your help,
>> /Etienne VRIGNAUD
>> --
>> View this message in context: http://old.nabble.com/Error-suspending-the-Response-of-a-POST-that-have-a-big-input-payload-tp29920874p29920874.html
>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
> <
> echo
> .zip
> >---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net