Problems receiving data from a site that uses chunked encoding


<< Back to Knowledge Search

Solution

Overview

Problems receiving data from a site that uses chunked encoding

Cause
Resolution

When an HTTP response is received by the proxy in which the content was returned 'chunked', the proxy will wait until it receives all of the data (receipt of a terminating chunk of size zero) before sending it to the client. For applications in which the last chunk is never received (like a stock ticker) the end user will experience a timeout. To force the proxy to provide chunked data to the client as it is received (and thus prevent the timeout for never ending responses) you can use the bypass_cache( ) policy action.  Here is a CPL example:

url.domain=site.com bypass_cache(yes)

Workaround
Additional Information
Bug Number
InQuira Doc IdKB1120
Attachment

Article Feedback

Hide Properties
First Published      10/01/2014
Last Modified      10/01/2014
Last Published      10/01/2014
Article Audience
Product      ProxySG
Topic      Content Access
Article Number      000012815
Summary     
Was this helpful?
Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat