By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,296 Members | 1,473 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,296 IT Pros & Developers. It's quick & easy.

Windows Vista browser input stream buffering, how to stop it?

100+
P: 310
I am having a curious problem with Vista working on a Lenovo thinkpad.

To test and demonstrate this problem, I have a PHP script that does not terminate. It enters an infinite loop where it repeatedly prints out a line of data, flushes output buffers (with appropriate PHP functions), then sleeps for a number of seconds.

In other words, this represents a constant input stream to the browser which is requesting the script as a page.

On my other PC's, this works fine. Each line of data seems to appear on a browser's window as it is produced by the PHP script.

On the Lenovo thinkpad running Vista, there is a very long delay, like about 5 minutes, before anything appears in the browser window, and then what appears is obviously delayed data.

It seems that something within Windows is buffering the non-terminating input stream to my browser.

I need to find a way to stop this delay/buffering, and to find out if this is a peculiar problem to my PC's setup or if it is a general situation that can occur with many PC's.

Before someone suggests for me just to terminate my input stream, let me explain the reason for doing something like this: The script is meant to be the data input source to a Java applet showing displays of new data as it is created on the server. Because of this delay/buffering problem, this Java applet does not function correctly on the Lenovo Thinkpad, and since this applet is to be used by my company in a product, I need to find out the cause of the problem, on what platforms it may occur, and how to advise (if possible) a user to make a configuration change to remove the problem.

Can anyone help at all? Also if you could direct me to other forums/links where I may find some answers will be appreciated!

Many thanks,
Steve, Denmark
Mar 18 '09 #1
Share this Question
Share on Google+
1 Reply


100+
P: 310
Ok I am going to solve my own post. I just found out that it was my Avira antivirus protection software that was the culprit. I had to add text/plain to the mime type that is ignored by the input stream checker, as this checker apparently holds back the data and buffers it if the stream is non-terminating.

:)
Mar 18 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.