I tried it with apache bench (ab -i) and it works as expected.
But I notice that curl -v -XHEAD on Amazon S3 does the same thing. :/
Looks like it's not Grizzly. Sorry for the noise in my haste to fix these issues. ;)
Thanks!
Jon Brisbin
http//jbrisbin.com
----- Original Message -----
> From: "Oleksiy Stashok" <oleksiy.stashok_at_oracle.com>
> To: users_at_grizzly.java.net
> Sent: Friday, July 22, 2011 5:00:22 AM
> Subject: Re: response to HEAD
> I just tried HEAD method and it works with curl as expected (curl
> doesn't wait for content).
> Any testcase?
> WBR,
> Alexey.
> On 07/21/2011 11:07 PM, Jon Brisbin wrote:
> > How do I stop the response stream when responding to a HEAD? I'm
> > sending a content-length but no body and curl seems to be expecting
> > a body.
>
> > I've tried resume() ing and cancel()ing and everything. The
> > connection is still blocking until I send the content. What do I
> > need to do differently here?
>
> > Thanks!
>
> > Jon Brisbin
>
> > http//jbrisbin.com
>