Bug #54535 [Opn->Csd]: WSA cleanup executes before MSHUTDOWN

From: Date: Sat, 06 Aug 2016 02:07:39 +0000
Subject: Bug #54535 [Opn->Csd]: WSA cleanup executes before MSHUTDOWN
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202981@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54535&edit=1 ID: 54535 Updated by: kalle@php.net Reported by: dylan dot arnold at gmail dot com Summary: WSA cleanup executes before MSHUTDOWN -Status: Open +Status: Closed Type: Bug Package: Scripting Engine problem Operating System: Windows PHP Version: 5.3SVN-2011-04-14 (snap) -Assigned To: +Assigned To: kalle Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Fixed for 7.2 Previous Comments: ------------------------------------------------------------------------ [2011-04-15 02:00:03] dylan dot arnold at gmail dot com Description: ------------ I have a custom PHP extension and when debugging in windows I found that winsock is shutdown by PHP before my extensions MSHUTDOWN is run. This is a problem because I do my own graceful shutdown of a stream in MSHUTDOWN. Inside main/main.c in php_module_shutdown WSACleanup() executes before zend_shutdown(TSRMLS_C) The cleanup really needs to be done after zend_shutdown. This is not a major considering I primarily develop in linux but surely this could be a problem for others. Thanks ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=54535&edit=1

« previous php.bugs (#202981) next »