>Number: 4779 >Category: general >Synopsis: Script output still buffered in 1.3.6 on WinNT? >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Jul 27 07:10:03 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.6/Win >Environment: Win NT 4.0 US-Version, Servicepack 4 installed Binary install of Apache 1.3.6 >Description: I used the following script (I found it in the CGI.pm doc; just added the local.)
#!d:/programme/perl/bin/perl.exe use CGI qw/:push -nph/; local $| = 1; print multipart_init(-boundary=>'----------------here we go!'); while (1) { print multipart_start(-type=>'text/plain'), "The current time is ",scalar(localtime),"\n", multipart_end; sleep 1; } When I save this as pushtest.pl my browser just keeps loading and loading, but shows nothing. Saved as nph-pushtest.pl it gives me an updated page from time to time, that definetly looks like buffered output. (Many consecutive pages are shown in a very short time, then the script seems to stop for a while and so on....) >How-To-Repeat: Should be repeatable by using the above quoted script on a Windows NT machine. >Fix: I´m sorry, but no. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]