PHP 4.0 Bug #2039: set_socket_blocking causes the script to stall

From: Date: Thu, 12 Aug 1999 03:35:41 +0000
Subject: PHP 4.0 Bug #2039: set_socket_blocking causes the script to stall
Groups: php.dev 
Request: Send a blank email to php-dev+get-9775@lists.php.net to get a copy of this message
From: iliaa@home.com Operating system: FreeBSD 3.2 PHP version: 4.0 Beta 2 PHP Bug Type: Misbehaving function Bug description: set_socket_blocking causes the script to stall The script stalls on the set_socket_blocking function, if the function is commented out or removed the script works perfectly in php 4.0 Beta 2. This script works entirely in php 3.0.8 versions an higher. $fp = fsockopen ( $mail_server, 25 ); if ($fp) { set_socket_blocking ( $fp, false ); echo "works"; fputs ( $fp, "QUIT\n" ); }

« previous php.dev (#9775) next »