#27552 [Com]: fwrite fails after writing 8k bytes
| From: | ulf at haueisen dot net | Date: | Mon, 16 Aug 2004 22:29:39 +0000 |
| Subject: | #27552 [Com]: fwrite fails after writing 8k bytes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64735@lists.php.net to get a copy of this message | ||
ID: 27552
Comment by: ulf at haueisen dot net
Reported By: jeroen dot pulles at redslider dot net
Status: Assigned
Bug Type: Sockets related
Operating System: win32
PHP Version: 5CVS-2004-03-10 (dev)
Assigned To: wez
New Comment:
I think this is a duplicate of 29256 and fixed in PHP 5.0.1
Thanks,
Ulf.
Previous Comments:
------------------------------------------------------------------------
[2004-07-21 13:48:56] ulf at haueisen dot net
btw: It does work correctly with PHP 4.3.8.
------------------------------------------------------------------------
[2004-07-21 12:57:25] ulf at haueisen dot net
I experience the same with PHP 5.0.0 final on Windows Server 2003 using
PEAR HTTP_Request while sending more than 8k POST-Data.
------------------------------------------------------------------------
[2004-04-13 17:47:08] jeroen dot pulles at redslider dot net
I am still experiencing the problem with 5.0.0.0 RC2-dev (April 12th
windows snapshot).
I tried the code on two networks. One network has a transparent
firewall as far as HTTP traffic is concerned. The other is my home
network, behind a simple router/nat solution. I have no reason to
believe anything is tampering the data; Especially since a smaller
message body _does_ work.
I put up a simple test case on my website:
http://www.redslider.net/test01/
I have no problem running fwrite_test.php with a small message size.
However, the code still breaks when writing more than 8192 bytes.
What I find weird is that the code runs fine, in any case, on a
localhost webserver/website, but breaks on any remote host,
irrespective of webserver software etcetera etcetera. I'm puzzled.
Help is appreciated,
jeroen
------------------------------------------------------------------------
[2004-04-07 06:03:29] sniper@php.net
I can't reproduce this either. Are you sure there isn't some firewall
or something in between that might somehow break this..?
------------------------------------------------------------------------
[2004-03-11 02:53:07] jeroen dot pulles at redslider dot net
I am using the latest windows binary snapshot.
(It's just that I'm not using the regular cmd.exe for command line
work, but cygwin's bash.exe shell; Which is probably irrelevant anyway.
For the record: I get the same result when running the reproduce code
from cmd.exe.)
------------------------------------------------------------------------
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/27552
--
Edit this bug report at http://bugs.php.net/?id=27552&edit=1