[ 
https://issues.apache.org/jira/browse/TS-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Sun updated TS-2739:
------------------------

    Description: 
When client keep-alive is turned off and origin server responds 
'Transfer-Encoding: chunked', ats doesn't send back this header which is 
required by some clients.

Example:
+++++++++ Incoming O.S. Response +++++++++
-- State Machine Id: 1
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=60,public
Connection: Keep-Alive
Content-Encoding: gzip
Content-Type: text/plain; charset=utf-8
Date: Wed, 23 Apr 2014 13:55:28 GMT
Etag: "YM:1:3120da04-2938-498f-8dba-d153a0a090ff0004f7b43e3e1bea"
Expires: Wed, 23 Apr 2014 13:56:28 GMT
Last-Modified: Wed, 23 Apr 2014 11:43:37 GMT
Transfer-Encoding: chunked
Vary: Accept-Encoding


+++++++++ Proxy's Response 2 +++++++++
-- State Machine Id: 1
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=60,public
Content-Encoding: gzip
Content-Type: text/plain; charset=utf-8
Date: Wed, 23 Apr 2014 13:55:28 GMT
Etag: "YM:1:3120da04-2938-498f-8dba-d153a0a090ff0004f7b43e3e1bea"
Expires: Wed, 23 Apr 2014 13:56:28 GMT
Last-Modified: Wed, 23 Apr 2014 11:43:37 GMT
Server: ATS
Vary: Accept-Encoding
Age: 0
Connection: close



  was:
When client keep-alive is turned off and origin server responds 
'Transfer-Encoding: chunked', ats doesn't send back this header which is 
required by some clients.



> ATS doesn't send back Transfer-Encoding when client keep-alive is turned off
> ----------------------------------------------------------------------------
>
>                 Key: TS-2739
>                 URL: https://issues.apache.org/jira/browse/TS-2739
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Wei Sun
>            Assignee: Wei Sun
>             Fix For: 5.0.0
>
>
> When client keep-alive is turned off and origin server responds 
> 'Transfer-Encoding: chunked', ats doesn't send back this header which is 
> required by some clients.
> Example:
> +++++++++ Incoming O.S. Response +++++++++
> -- State Machine Id: 1
> HTTP/1.1 200 OK
> Accept-Ranges: bytes
> Cache-Control: max-age=60,public
> Connection: Keep-Alive
> Content-Encoding: gzip
> Content-Type: text/plain; charset=utf-8
> Date: Wed, 23 Apr 2014 13:55:28 GMT
> Etag: "YM:1:3120da04-2938-498f-8dba-d153a0a090ff0004f7b43e3e1bea"
> Expires: Wed, 23 Apr 2014 13:56:28 GMT
> Last-Modified: Wed, 23 Apr 2014 11:43:37 GMT
> Transfer-Encoding: chunked
> Vary: Accept-Encoding
> +++++++++ Proxy's Response 2 +++++++++
> -- State Machine Id: 1
> HTTP/1.1 200 OK
> Accept-Ranges: bytes
> Cache-Control: max-age=60,public
> Content-Encoding: gzip
> Content-Type: text/plain; charset=utf-8
> Date: Wed, 23 Apr 2014 13:55:28 GMT
> Etag: "YM:1:3120da04-2938-498f-8dba-d153a0a090ff0004f7b43e3e1bea"
> Expires: Wed, 23 Apr 2014 13:56:28 GMT
> Last-Modified: Wed, 23 Apr 2014 11:43:37 GMT
> Server: ATS
> Vary: Accept-Encoding
> Age: 0
> Connection: close



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to