Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-1023

DISABLE_CHUNKING property is not honored in the response path of PT

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.0.0
    • Core, Transports
    • None

    Description

      <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>
      

      I have mentioned the disable chunking in response path and it is not honored, please check the curl request.

      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
      

      Attachments

        1. SYNAPSE-1023_Serialized_Bytes.diff
          6 kB
          Vanjikumaran Sivajothy
        2. SYNAPSE-1023_CountingOutputStream.diff
          5 kB
          Vanjikumaran Sivajothy
        3. SYNAPSE-1023_withOverflowableBlob.diff
          5 kB
          Vanjikumaran Sivajothy
        4. SYNAPSE-1023-updated.diff
          4 kB
          Hiranya Kasub Jayathilaka
        5. SYNAPSE-1023.diff
          4 kB
          Vanjikumaran Sivajothy

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hiranya Hiranya Kasub Jayathilaka
            vanjikumaran@gmail.com Vanjikumaran Sivajothy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment