Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] How to disable the chunking feature in Jetty

Thanks Michael,
I will file a jira for it.

David

On Fri, May 27, 2011 at 10:52 AM, Michael Gorovoy <michael@xxxxxxxxxxx> wrote:
David,

Could you please capture the tcpdump (wireshark or similar) of a request from a problem client and Jetty's response, and open a ticket at http://bugs.eclipse.org/bugs for RT | Jetty project (if using Jetty 7) or http://jira.codehaus.org/ for JETTY project (if using Jetty 6) with description of the problem, and the tcpdump attached?

-Michael


On Thu, May 26, 2011 at 10:25 PM, Yinwei David Liu <Yinwei.Liu@xxxxxxxxxxxxxxxxx> wrote:
Hi Malphettes,
  Thanks, I've checked this thread before, however, Jetty will still chunk the message when the message reach its Buffer during writing message to the OutputStream.

  Also, my http client is Http 1.0 which does not send the Http 1.1 in Header to Jetty, I assume Jetty will reply the message as HTTP 1.0, however, it still chunked the message and reply HTTP 1.1 message.

David


On Thu, May 26, 2011 at 8:58 AM, Hugues Malphettes <hmalphettes@xxxxxxxxxxx> wrote:
Hi there,

These instructions are probably what you need to make jetty not use
the chunked response:
http://dev.eclipse.org/mhonarc/lists/jetty-users/msg00159.html

If the client specifies HTTP 1.0 jetty will respond using 1.0 too and
there should be no chunked response.

Cheers,
Hugues

On Thu, May 26, 2011 at 8:42 AM, Yinwei David Liu
<Yinwei.Liu@xxxxxxxxxxxxxxxxx> wrote:
> Could anyone please shed some light on it? thanks.
>
> David
>
> On Tue, May 24, 2011 at 12:11 PM, Yinwei David Liu <ywliu@xxxxxxxxxxxxxxxxx>
> wrote:
>>
>> Hi Jetty-users,
>>
>>  How can I disable the chunking feature in Jetty?
>>
>>  One of my Http client only support http 1.0, however, Jetty will split
>> the big response message and send the chunked http response to the old
>> client, which cause the client failed. I tried to increase the response
>> buffer in Connector, however, we still have such issue when the message
>> exceed the buffer limit.
>>
>>  Is there any way to disable the chunk feature in Jetty? or  Is there any
>> way to disable Http 1.1 feature in Jetty because checking feature is from
>> http 1.1?
>>
>> David
>>
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top