There's another parameter you can set:

<parameter name="Transfer-Encoding">chunked</parameter>

You can also enable/disable it at runtime:
options.setProperty(HTTPConstants.CHUNKED, Boolean.FALSE);

Michele


On 28 Apr 2008, at 12:14, Krystian Szczesny wrote:

Hi,

I’ve got an Axis2 1.3 deployed on Jetty 6.1.5.
I’m having some performance issues with this setup: response is chunked and time between the chunks is about 60-70ms[!!!]. I wanted to disable the chunking so I’ve set my axis2.xml file to look like this:

    <transportSender name="http"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
        <parameter name="PROTOCOL" locked="true">HTTP/1.0</parameter>
    </transportSender>

    <transportSender name="https"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
        <parameter name="PROTOCOL" locked="true">HTTP/1.0</parameter>
    </transportSender>

Unfortunately I am still receiving HTTP/1.1 chunked responses.

Have you got any idea about what to set to disable chunking?
I am not using Axis2 client so forget about setting the options :/

I spoke with folks from Jetty support mailing list and they’ve told me, that Jetty will send chunked response if it doesn’t know the content length at the time of sending the message.

If the settings I’ve pasted above were working, then I guess Jetty would receive a full message so it should know the content length.

Am I missing something here?

Best regards,
Krystian

P.s.
Sorry for the crap below, I can’t disable it for external messages

--
Krystian Szczesny
This e-mail and any attachments are confidential and may also be legally privileged and/or copyright material of Intec Telecom Systems PLC (or its affiliated companies). If you are not an intended or authorised recipient of this e-mail or have received it in error, please delete it immediately
and notify the sender by e-mail. In such a case, reading, reproducing,
printing or further dissemination of this e-mail or its contents is strictly
prohibited and may be unlawful.
Intec Telecom Systems PLC does not represent or warrant that an attachment
hereto is free from computer viruses or other defects. The opinions
expressed in this e-mail and any attachments may be those of the author and
are not necessarily those of Intec Telecom Systems PLC.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to