users@grizzly.java.net

strange locking

From: Martin Bruse <zondolfin_at_gmail.com>
Date: Sat, 26 Mar 2011 00:25:33 +0100

Hello list!

I am trying to embed a small web server in my application using
GrizzlyWebServer.

But when I try to get the body of a POST to my server, something
strange happens: The moment I first call "read(byte[], int, int)" on
the InputStream I get from GrizzlyRequest.getInputStream() there is a
strange two second delay. Always two seconds, as well.

Does anyone have any idea why this happens? What could cause a delay
that long, and always two seconds?

Please, I am completely confounded...

regards,
//Martin