users@grizzly.java.net

Re: HTTP POST packet loss.

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 26 Mar 2009 16:37:57 +0100

Salut,

Pravin Sinha wrote:
> Hi,
>
> We have a grizzly implementation in our project. Under some load(minor -
> 500 concurrent users) we are facing some time a severe problem.
> Our Client sends POST to a URI registered under CometEngine.
>
> When the doPost of the App is called by the Grizzly Layer, we face this
> issue sometime:
>
> HttpServletResuest object is "request". request.getContentLength()
> returns values in positive(40/124/125 depending upon request). But when
> we read the Content using request.getInputStream() it returns 0 byte.
> This doesnot happen all the time.
>
> Is the packet by any way getting modified by Grizzly??

Hum this is difficult to say but I never saw such issue. Can you share a
test case or the CometHandler part that write and resume the connection?

Thanks

-- Jeanfrancois



>
> Regards,
> -Pravin
>
> ------------------------------------------------------------------------
> Check out the all-new Messenger 9.0! Click here.
> <http://in.rd.yahoo.com/tagline_messenger_7/*http://in.messenger.yahoo.com/>