PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_SmartIRC » Bug #1950

Constructor calls ignore_user_abort(true) - undocumented and not always desired

Details

Submitted2004-07-22 13:40 UTC
Fromarachnid at notdot dot net
Assignedamir
StatusClosed
PackageNet_SmartIRC
PHP Version4.3.7
OSGentoo Linux
Roadmaps(Not assigned)

Comments

[2004-07-22 13: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.

[2004-08-02 07: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 08: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.