#23664 [NEW]: FastCGI -b: !FCGX_IsCGI()

From: Date: Fri, 16 May 2003 20:56:16 +0000
Subject: #23664 [NEW]: FastCGI -b: !FCGX_IsCGI()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39813@lists.php.net to get a copy of this message
From:             krip at OpenIsis dot org
Operating system: any *nix
PHP version:      4.3.2RC3
PHP Bug Type:     CGI related
Bug description:  FastCGI -b: !FCGX_IsCGI()

nice to see that
#21367  FastCGI -b option error
is "closed", however, it's still not working:
the fastcgi is not detected in FCGX_IsCGI,
because FCGI_LISTENSOCK_FILENO (#defined to 0)
is no listening socket; it's just plain stdin :)

a close(0); in cgi_main.c, if (bindpath) { ...

of course fixes this.

just one question: did you test this even once
before declaring #21367 closed,
and how come it worked ?
-- 
Edit bug report at http://bugs.php.net/?id=23664&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23664&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23664&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23664&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23664&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23664&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23664&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23664&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23664&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23664&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23664&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23664&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23664&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23664&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23664&r=gnused



Thread (6 messages)

« previous php.bugs (#39813) next »