You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Laurent Domenech <do...@cge.net> on 1999/10/01 11:03:35 UTC

mod_cgi/5088: Cannot execute CGI with compil option HIGH_SLACK_LINE=256

>Number:         5088
>Category:       mod_cgi
>Synopsis:       Cannot execute CGI with compil option HIGH_SLACK_LINE=256
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Oct  1 02:10:01 PDT 1999
>Last-Modified:
>Originator:     domenech@cge.net
>Organization:
apache
>Release:        1.3
>Environment:
Solaris 2.6 patch 105181-11
GCC 2.8.1
>Description:
When I compile Apache 1.3.9 with -DHIGH_SLACK_LINE=256, my CGI cannot be run

In error log :
Premature end of script header

When I run a Intershop CGI i have more log :
Could not complete sending response (fflush)
>How-To-Repeat:

>Fix:
I had the same problem with mod_php3 and I patch mod_php3.c to
replace ap_popenf by ap_pfopen. Because php3 use fdopen on file descriptors 
whose values are not be less than 255 (cause bug on solaris).
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> 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!     ]