From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 18 07:21:37 2014 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97947E83; Fri, 18 Jul 2014 07:21:37 +0000 (UTC) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F63422F1; Fri, 18 Jul 2014 07:21:36 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id n3so336418wiv.1 for ; Fri, 18 Jul 2014 00:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=F+RueGQlaBhcJcO/idJuhuYAK+9ugnXSgI4AvyRLbFQ=; b=M0rOqzn4Cx69hFutTdv/c3V9gRlQ0/JiCOw5PJukwm0SZ1Ktx6Lix61eWbfHd8g5Gn WFQFjmRRooovCB2DmDKtUPs6oloea+SMa+QUR8oaffxW9Qq/twdU4Y1jUBjM/kr3LzSz JDmBiTm+l9AEFPOkTGESIbR8C0mPb4bfhrVt9hZG8wlZClDZF6Ec4pTWlPLMfyVxWhWN 1gD3xlPSpl8YOzU8OVurcZgEnW/tBDRkzjX8DpNPOyWYQPkrD9AES98wBz9woYosK90s sDfw6VfDh5ALlQskmD+v5kv1+yrcs4dln01sFt03xDM0CsynXcXGBeFlirOrBG1ayu/M Dbxw== X-Received: by 10.180.81.103 with SMTP id z7mr22599203wix.23.1405668093945; Fri, 18 Jul 2014 00:21:33 -0700 (PDT) Received: from [10.76.128.40] (va-ip.uk-essen.de. [132.252.149.100]) by mx.google.com with ESMTPSA id fw4sm3495274wib.19.2014.07.18.00.21.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Jul 2014 00:21:33 -0700 (PDT) Message-ID: <53C8CAFD.8020608@gmail.com> Date: Fri, 18 Jul 2014 09:21:33 +0200 From: George Amanakis User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-ports-bugs@FreeBSD.org, jadawin@FreeBSD.org Subject: Bug in IO::Socket::SSL Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 07:21:37 -0000 Dear all, I 've discovered a bug in p5-IO-Socket-SSL. The following program does not work (both on FreeBSD 9.2 and 10): ------------------------- #!/usr/bin/perl use strict; use IO::Socket::SSL; my $cl = IO::Socket::SSL->new( PeerAddr => 'www.google.com', PeerPort => 443, SSL_ca_file => '/usr/local/share/certs/ca-root-nss.crt'); print $cl "GET / HTTP/1.0\r\n\r\n"; print <$cl>; ------------------------- i.e. it produces no output meaning it seems no respond comes from the socket. Changing to IO::Socket::INET and PeerPort to 80 produces expected output. The same code in Archlinux works as expected.