[ 
https://issues.apache.org/jira/browse/SYNAPSE-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322113#comment-15322113
 ] 

Hudson commented on SYNAPSE-1023:
---------------------------------

SUCCESS: Integrated in Synapse - Trunk #5272 (See 
[https://builds.apache.org/job/Synapse%20-%20Trunk/5272/])
Supporting the DISABLE_CHUNKING property in the response path of HTTP message 
mediation; Applied patches from SYNAPSE-1023 and SYNAPSE-1029 (hiranya: rev 
1747502)
* 
java/modules/integration/src/test/java/org/apache/synapse/samples/framework/TestSamplesHandlerSuite.java
* 
java/modules/integration/src/test/java/org/apache/synapse/samples/framework/tests/proxy/Sample160.java
* 
java/modules/integration/src/test/java/org/apache/synapse/samples/framework/tests/proxy/Sample161.java
* java/modules/integration/src/test/resources/extras/synapse_sample_160.xml
* java/modules/integration/src/test/resources/sample160.xml
* 
java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/PassThroughHttpSender.java
* 
java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/SourceResponse.java


> DISABLE_CHUNKING property is not honored in the response path of PT
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-1023
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1023
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core, Transports
>            Reporter: Vanjikumaran Sivajothy
>            Assignee: Hiranya Jayathilaka
>            Priority: Blocker
>             Fix For: 3.0
>
>         Attachments: SYNAPSE-1023-updated.diff, SYNAPSE-1023.diff, 
> SYNAPSE-1023_CountingOutputStream.diff, SYNAPSE-1023_Serialized_Bytes.diff, 
> SYNAPSE-1023_withOverflowableBlob.diff
>
>
> {code}
> <proxy name="StockQuoteProxy">
>         <target>
>              <inSequence>
>                 <send>
>                  <endpoint>
>                         <address 
> uri="http://localhost:8080/RESTfulExample/rest/hello/data"/>
>                     </endpoint>
>                 </send>
>              </inSequence>
>              <outSequence>
>                 <property name="DISABLE_CHUNKING" value="true" scope="axis2"/>
>                 <send/>
>             </outSequence>
>         </target>
>     </proxy>
> {code}
>  
> I have mentioned the disable chunking in response path and it is not honored, 
> please check the curl request.
> {code}
> curl -v -XPOST -H "Content-type: application/json" -d '{"Hello": "World"}' 
> 'http://localhost:8280/services/StockQuoteProxy'
> *   Trying ::1...
> * Connected to localhost (::1) port 8280 (#0)
> > POST /services/StockQuoteProxy HTTP/1.1
> > Host: localhost:8280
> > User-Agent: curl/7.43.0
> > Accept: */*
> > Content-type: application/json
> > Content-Length: 18
> > 
> * upload completely sent off: 18 out of 18 bytes
> < HTTP/1.1 201 Created
> < Server: Apache-Coyote/1.1
> < Date: Sat, 28 May 2016 22:54:29 GMT
> < Transfer-Encoding: chunked
> < 
> * Connection #0 to host localhost left intact
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org
For additional commands, e-mail: dev-h...@synapse.apache.org

Reply via email to