Problems receiving data from a site that uses chunked encoding
search cancel

Problems receiving data from a site that uses chunked encoding

book

Article ID: 166789

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

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)