469,643 Members | 1,395 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,643 developers. It's quick & easy.

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

310 100+
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
1 3019
coolsti
310 100+
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.

Similar topics

18 posts views Thread by chris | last post: by
24 posts views Thread by Hendrik Schober | last post: by
15 posts views Thread by Adam H. Peterson | last post: by
3 posts views Thread by Jason Chu | last post: by
5 posts views Thread by JulioHM | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.