php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31933 cgi timeout when post forms bigger than 477 bytes
Submitted: 2005-02-11 16:16 UTC Modified: 2005-02-18 10:28 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: giulio dot pons at archebit dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.3.10 OS: windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: giulio dot pons at archebit dot com
New email:
PHP Version: OS:

 

 [2005-02-11 16:16 UTC] giulio dot pons at archebit dot com
Description:
------------
same problem of another bug reported here (#21660), same test.php.
my PHP version is 4.3.10.
server is microsoft windows 2000.
iis is version 5.
php as cgi.
i've tried many versions of php cause i don't have this problem on another server with php version 4.3.3.
the textarea posted hang php when it contains a text longer than 377 bytes.
do i have to post other data to you so you can understand better?
thank you very much.
giulio

Reproduce code:
---------------
<?
if ( isset( $_REQUEST['test']) ) {
  $ttt = $_REQUEST['test'];
} else {
?>
<form action=test.php method=post>
<textarea name=test></textarea>
<input type=submit>
</form>
<?
}
?>

Expected result:
----------------
blank page

Actual result:
--------------
the php.exe hangs.
you can see it in the task manager. it doesn't use CPU, only memory. nothing happens till iis goes in timeout and return the CGI timeout message.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-18 09:24 UTC] giulio dot pons at archebit dot com
the problem was solved by editing a very very deep setting in the IIS: the UploadReadAheadSize value with the AC-MetaDataEditTool.exe downloaded from Microsoft:
http://www.microsoft.com/downloads/details.aspx?FamilyID=48364A72-D54E-46DC-AACF-E3BE887D17A6&displaylang=en
 [2005-02-18 10:28 UTC] tony2001@php.net
No PHP bug -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 22:01:31 2024 UTC