Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27212 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80110 invoked by uid 1010); 29 Dec 2006 13:35:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80095 invoked from network); 29 Dec 2006 13:35:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Dec 2006 13:35:04 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.174 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.174 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.174] ([66.249.92.174:33398] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C9/30-12420-78915954 for ; Fri, 29 Dec 2006 08:35:04 -0500 Received: by ug-out-1314.google.com with SMTP id o4so2036302uge for ; Fri, 29 Dec 2006 05:35:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OZ+4mFzq8YAge4Kaeuer07iqci2dkI5+PzahL8sVIRFdBgXswC0b7a+0JY1qNuVF9T+2yIQyl2JknLgfXzaUaS60z16FNzP7I7Ej5NXBD5zOk7TygrvlnKhYF63ib3te6qL9/I0RU3cPJl1zkB6EqbTicZdYzk4VslaHYCBCEjM= Received: by 10.78.178.5 with SMTP id a5mr896245huf.1167399300692; Fri, 29 Dec 2006 05:35:00 -0800 (PST) Received: by 10.78.122.4 with HTTP; Fri, 29 Dec 2006 05:35:00 -0800 (PST) Message-ID: Date: Fri, 29 Dec 2006 14:35:00 +0100 To: "Mehdi Achour" Cc: internals@lists.php.net, "Sara Golemon" In-Reply-To: <45950E67.9000203@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45950E67.9000203@php.net> Subject: Re: [PHP-DEV] About #37799 From: pierre.php@gmail.com (Pierre) Hello, On 12/29/06, Mehdi Achour 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