users@jersey.java.net

Re: [Jersey] Re: Hangs when trying to read an entity

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Mon, 9 Aug 2010 11:53:19 +0200

On Aug 9, 2010, at 11:33 AM, Imran M Yousuf wrote:

> Hi Paul,
>
> On Mon, Aug 9, 2010 at 3:30 PM, Imran M Yousuf
> <imyousuf_at_smartitengineering.com> wrote:
>> Hi Paul,
>>
>> On Mon, Aug 9, 2010 at 2:27 PM, Paul Sandoz
>> <Paul.Sandoz_at_oracle.com> wrote:
>>> <snip />
>>> returning 204 then GET. I suspect it might if the HEAD response
>>> returns a
>>> 204 with chunked encoding.
>>>
>>> You should be able to easily verify if Jetty does that using curl.
>
> Looks like your suspicion is right. I just blocked out the HEAD
> request and all worked just fine with Client.create(config).
>

OK.

I know this issue has been fixed in JDK 7 but i do not know if it has
been back ported to JDK 6. I am currently checking.

Paul.