Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.2

Bug #1950 Constructor calls ignore_user_abort(true) - undocumented and not always desired
Submitted: 2004-07-22 08:40 UTC Modified: 2007-08-20 19:16 UTC
From: arachnid at notdot dot net Assigned: amir
Status: Closed Package: Net_SmartIRC
PHP Version: 4.3.7 OS: Gentoo Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-07-22 08:40 UTC] arachnid at notdot dot net
Description: ------------ The constructor of Net_SmartIRC calls ignore_user_abort(true), along with a number of other calls that modify PHP behaviour. This is undocumented, and can lead to unexpected results in scripts using it. For example, writing a script for a web based IRC client, users persist indefinitely if they abort the script, tying up web server resources, and register_shutdown_function handlers are not called on terminate as would be expected by default.

Comments

 [2004-08-02 02:50 UTC] david at squiggle dot org
Changed to Won't fix - if this isn't done we could end up with unexpected behavior.
 [2004-08-02 03:24 UTC] arachnid at notdot dot net
Can you at least make this documented? This led me on quite the wild goose chase until I hunted it down.
 [2004-08-02 04:11 UTC] meebey
yes this is a problem in cases where you want to use SmartIRC for showing IRC stuff on webpages and for chat scripts. For this reason I will add function, something like setDaemon(true) or setRunAsDaemon(true).... so this bug stays open till I made a new release with that function!
 [2007-08-20 19:16 UTC] amir (Amir Mohammad Saied)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.