#23220 [NEW]: fgets() causes warning while reading data via SSL channel (HTTPS)

From: Date: Tue, 15 Apr 2003 06:52:09 +0000
Subject: #23220 [NEW]: fgets() causes warning while reading data via SSL channel (HTTPS)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37689@lists.php.net to get a copy of this message
From: storozhilov at mail dot ru Operating system: FreeBSD 4.8 PHP version: 4.3.1 PHP Bug Type: Filesystem function related Bug description: fgets() causes warning while reading data via SSL channel (HTTPS) <?php $fd = fsockopen( 'ssl://www.somehost.com', 443, $errno, $errstr, 30 ); fputs($fd, "GET / HTTP/1.0\r\n\r\n"); while (!feof($fd)) { echo fgets($fd, 1024); ); ?> After executing of this script following message appears: Warning: fgets() [function.fgets]: SSL: fatal protocol error in /blah/blah/blah/blah.php on line NN PHP was configured with following arguments: #!/bin/sh ./configure --with-apache=../apache_1.3.27rusPL30.17 --with-mod_charset --with-pgsql=/usr/local/pgsql --with-mhash --with-sybase=/usr/local --with-openssl -- Edit bug report at http://bugs.php.net/?id=23220&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23220&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23220&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23220&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23220&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23220&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23220&r=support Expected behavior: http://bugs.php.net/fix.php?id=23220&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23220&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23220&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23220&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23220&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23220&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23220&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23220&r=gnused

« previous php.bugs (#37689) next »