Solutions

Problems receiving data from a site that uses chunked encoding

Solutions ID:    KB1120
Version:    2.0
Status:    Published
Published date:    03/02/2009
Updated:    03/26/2009
 

Problem Description

Problems receiving data from a site that uses chunked encoding

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)


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question