Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57920 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9884 invoked from network); 21 Feb 2012 17:16:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2012 17:16:21 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.160.42 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.160.42 mail-pw0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:50062] helo=mail-pw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/54-54786-461D34F4 for ; Tue, 21 Feb 2012 12:16:20 -0500 Received: by pbcwz12 with SMTP id wz12so8577377pbc.29 for ; Tue, 21 Feb 2012 09:16:17 -0800 (PST) Received-SPF: pass (google.com: domain of rasmus@lerdorf.com designates 10.68.216.40 as permitted sender) client-ip=10.68.216.40; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rasmus@lerdorf.com designates 10.68.216.40 as permitted sender) smtp.mail=rasmus@lerdorf.com Received: from mr.google.com ([10.68.216.40]) by 10.68.216.40 with SMTP id on8mr77160033pbc.97.1329844577756 (num_hops = 1); Tue, 21 Feb 2012 09:16:17 -0800 (PST) Received: by 10.68.216.40 with SMTP id on8mr63591340pbc.97.1329844577714; Tue, 21 Feb 2012 09:16:17 -0800 (PST) Received: from [192.168.200.5] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id b7sm28100064pba.2.2012.02.21.09.16.16 (version=SSLv3 cipher=OTHER); Tue, 21 Feb 2012 09:16:16 -0800 (PST) Message-ID: <4F43D15F.4010905@lerdorf.com> Date: Tue, 21 Feb 2012 09:16:15 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Bostjan Skufca CC: PHP Internals List References: In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQliXdIOJqQV1e3h4DYLk6KzMTJjoH3134G7XkDnAScTLWxqELpBOaa5ROxqRfquFMgMF6K5 Subject: Re: [PHP-DEV] file_get_contents from HTTPS on Slackware 13.1 From: rasmus@lerdorf.com (Rasmus Lerdorf) On 02/21/2012 06:54 AM, Bostjan Skufca wrote: > Hi all, > > we've bumped into a possible bug where file_get_contents() returns empty > string if we try to get contents from HTTPS source. This error only occurs > if PHP is compiled with --with-curlwrappers. > > Funny thing is this only happens on slackware 13.1, but not on 13.0 or > older. I've checked ./configure and make output and they are almost > identical, strace does not return anything meaningful. > Environment is highly controlled by configuration management, software is > built in the same way, except underlying OS versions (and very basic libs > and tools versions) differ. > > Two questions: > 1. Do any of you guys have any idea about this? > 2. How to continue exploring deeper to discover what actually this error is > all about? Does a command line curl call to the same SSL URL work? -Rasmus