From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.3.0
PHP Bug Type:     Sockets related
Bug description:  SIGINT handler not called during socket_accept() (revive of Bug 
#20745)

this is meant as a revive of Bug #20745 .. but since its not my bug I
couldnt reopen it myself .. dont know if you guys get messages from
abandoned bugs .. so I opened this one)

(this was tested in the CGI executable from 4.2.3 and with the CLI
executable from 4.3.0)
steps to reproduce:
install a signal handler for SIGINT (using pcntl_signal())
create a socket
bind the socket
start listening on the socket
call socket_accept() on the socket

now hit ctrl-c .. and the handler isnt called .. if the signal handler was
installed with the third parameter set to false .. the call gets
interrupted but the call just fails and the handler is still not called.

if you need any additional information please let me know.
-- 
Edit bug report at http://bugs.php.net/?id=21331&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21331&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21331&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21331&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21331&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21331&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21331&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21331&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21331&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21331&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21331&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21331&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21331&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21331&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21331&r=gnused

Reply via email to