1

We run a ColdFusion server with Internet Information Services and there exists a configuration file called isapi_redirect.properties that specifically has a flag called iis_buffer_enable that is set to true by default. I believe this causes the web server to buffer entire responses before sending them to the browser.

When I set iis_buffer_enable=false, I am able to get a proof of concept of streaming text data working by copying the example on Adobe ColdFusion's documentation for the <cfflush> tag (Link: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-f/cfflush.html). Without it, I can't get any streaming to occur, the server just appears to wait until the process is complete and then it spits out everything.

We are really not able to set this flag to false for performance reasons, so I wanted to see if someone could point me in the direction of another solution if possible. Thank you!

3
  • I"d try connecting the servlet engine as a reverse proxy instead of using the isapi connector as an possible alternative. Commented Feb 21 at 4:17
  • Having you been using the cfflush tag (or script equiv) in cf? Commented Mar 11 at 20:34
  • After working on this for some time, it seems that streaming is probably not possible when hosting through IIS unless you set iis_buffer_enable = false. The solution I implemented was creating a second site within my ColdFusion site (a subfolder with its own application.cfc file) and for that site, we set iis_buffer_enable = false, but kept iis_buffer_enable = true everywhere else. Commented Mar 13 at 21:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.