|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2018-11-14 12:29 UTC] ja at vojta-tuma dot cz
Description:
------------
ftp_close() function returns warning while trying to close SSL connection.
Exact stdout:
ftp_close(): SSL_read on shutdown
I run following testscript with latest docker php7-cli image.
docker run --rm -v ./code/:/code/ php:7-cli php /code/test.php
Test script:
---------------
<?php
$ftp_conn = ftp_ssl_connect('server');
$ftp_login = ftp_login($ftp_conn, 'user', 'pass');
echo ftp_pwd($ftp_conn);
ftp_close($ftp_conn);
Expected result:
----------------
print working directory without any error
Actual result:
--------------
print working directory and warning message on ftp close.
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 12:00:01 2025 UTC |
Also get reports abnout this warning: PHP Warning: ftp_close(): SSL_read on shutdown: Success (0) in import.php on line 62 Also see my comments on the https://github.com/php/php-src/commit/bb4a2e8bb7fc80fa5b3725508bcc8fea525f059b