PHP 4.0 Bug #5587: pfsockopen does not open persistent connection
| From: | kai at europeonline dot net | Date: | Fri, 14 Jul 2000 14:21:45 +0000 |
| Subject: | PHP 4.0 Bug #5587: pfsockopen does not open persistent connection | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24449@lists.php.net to get a copy of this message | ||
From: kai@europeonline.net
Operating system: Linux Ansi 2.2.15
PHP version: 4.0.0
PHP Bug Type: Misbehaving function
Bug description: pfsockopen does not open persistent connection
The following steps were done:
1. I open a tcp connection with pfsockopen#
2. I serialize the returned value and put it in a html form
3. User interaction causes page to reload
4. I unserialize the saved value
5. I write with fputs to the persistent socket
The socket seems to be open (persistent) on the server, but writing to the socket
does not work. Even reloading the page and always opening new sockets will not
change the value of the variable storing the locator which must be unique.