If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

New to V7.0.1: server calls flush, browser content does not update until connection complete. Works on IE & older Firefox.

RESOLVED INCOMPLETE

Status

()

Firefox
General
RESOLVED INCOMPLETE
6 years ago
3 years ago

People

(Reporter: jmeisellmisc, Unassigned)

Tracking

7 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

In middle of rendering a page, the server generates dynamic content and delivers to browser line by line.  Call to fflush used to cause new content to appear in browser, but now the page must be complete and the connection closed before the browser renders the content.  Server is boa with custom cgi.  This is new to this version of Firefox.. used to work fine.  Works on older versions as IE, chrome, etc.

Comment 1

6 years ago
Can you post the URL to the server, or is it internal?
(Reporter)

Comment 2

6 years ago
Internal.. it runs on an embedded box.  The CGI is implemented in C and as I mention, calls to fflush(stdout) used to cause the browser to render the partial content.  This is needed because this is the response page from setting the box's IP address and explanatory text and a link to the new IP address are output to be browser *before* the IP is actually changed.. since that will leave the browser in no-mans' land.
(Reporter)

Comment 3

6 years ago
This is still a real issue in Firefox 10.0.1: fflush before the page is completely output does NOT work.

In one case, I believe this is be related to outputing javascript to set window.location and then calling fflush with no results.  Sequence of server output:
- content type, header
- formatted content
- <script language=javascript> window.location='...'; </script>
- run local shell script and wait for completion; takes about three minutes
The window.location page has dynamic javascript to read and display a log file as it is generated by the shell script.

The implementation can be changed to accommodate this behavior, but this behavior in the browser used to work.
We are unable to do something without a testcase

Comment 5

5 years ago
Needs a testcase => needinfo
Flags: needinfo?(jmeisellmisc)

Comment 6

4 years ago
Closing based on date of last comment and lack of response to request for info. If more info provided bug can be reopened.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INCOMPLETE

Updated

3 years ago
Flags: needinfo?(jmeisellmisc)
You need to log in before you can comment on or make changes to this bug.