Hello,

On 12/29/06, Mehdi Achour <[EMAIL PROTECTED]> wrote:
Hello,

I had a look at http://bugs.php.net/37799 and I would really like to
have a little warning added upon SSL connection failure.

 From my understanding, the silent fall back to a normal connection is
made in ftp.c at line 269, which as the bug reporter says, "leads to a
false sense of security".

I would instead make ftp_ssl_connect failing  and returns false. I
prefer functions without too much error messages for expected errors
(a network connection can fail, no need to raise a warning here). Then
let the user decides to try again using ftp_connect.

--Pierre

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to