ID:               22154
 User updated by:  malekjo at aphrodite dot com
 Reported By:      malekjo at aphrodite dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache related
 Operating System: Linux 2.4.18-10
 PHP Version:      4.3.0
 New Comment:

session.use_trans_sid = 1


Previous Comments:
------------------------------------------------------------------------

[2003-02-26 19:48:20] [EMAIL PROTECTED]

Do you have session.use_trans_sid option enabled in your php.ini?

------------------------------------------------------------------------

[2003-02-26 13:20:23] malekjo at aphrodite dot com

In php.ini:
zlib.output_compression = Off
memory_limit = 8M
output_handler =

I get the errors with any 'modern' graphical browser (Mozilla,
Netscape, IE...).  Links works just fine though.  I'm now leaning
towards something wrong between fpassthru() and session_start().

Also, in my apache logs I'm getting something similar to:

[Tue Feb 25 15:35:06 2003] [info] [client XXX.XXX.XXX.XXX]
(104)Connection reset by peer: client stopped connection before rwrite

every time a download fails.  And its not my users hitting the stop
button.

------------------------------------------------------------------------

[2003-02-20 08:13:55] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-02-11 20:30:59] [EMAIL PROTECTED]

Hmm...do you have zlib.output_compression=On ?
Or output_handler=ob_gzhandler ?? 
(in your php.ini)

What is your memory_limit setting in php.ini?

And does the bug occur with any browser..? 


------------------------------------------------------------------------

[2003-02-11 15:55:38] malekjo at aphrodite dot com

even with the simple fpassthru() to load content into the browser
window?

<?php

session_start();

$fp = fopen('wordlist.txt','r');

if ($fp)
{
  header("Cache-control: public");
  header("Content-Type: application/octet-stream");
  header("Content-Length:
".(string)filesize("/home/joem/public_html/php/wordlist.txt"));
  header("Content-Disposition: attachment;
filename=\"wordlist.txt\"");
  header("Connection: close");
  fpassthru($fp);
  fclose($fp);
}

else
{
  print "File not found\n";
}

?>

Doesn't work either.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22154

-- 
Edit this bug report at http://bugs.php.net/?id=22154&edit=1

Reply via email to