r70168 - in /branches/upstream/libpoe-component-sslify-perl/current: ./ lib/POE/Component/ lib/POE/Component/SSLify/ t/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Mar 1 12:24:51 UTC 2011


Author: jawnsy-guest
Date: Tue Mar  1 12:24:34 2011
New Revision: 70168

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70168
Log:
[svn-upgrade] new version libpoe-component-sslify-perl (1.003)

Modified:
    branches/upstream/libpoe-component-sslify-perl/current/Build.PL
    branches/upstream/libpoe-component-sslify-perl/current/Changes
    branches/upstream/libpoe-component-sslify-perl/current/CommitLog
    branches/upstream/libpoe-component-sslify-perl/current/META.json
    branches/upstream/libpoe-component-sslify-perl/current/META.yml
    branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL
    branches/upstream/libpoe-component-sslify-perl/current/README
    branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE
    branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm
    branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm
    branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm
    branches/upstream/libpoe-component-sslify-perl/current/t/000-report-versions-tiny.t

Modified: branches/upstream/libpoe-component-sslify-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/Build.PL?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/Build.PL (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/Build.PL Tue Mar  1 12:24:34 2011
@@ -24,7 +24,7 @@
     'Apocalypse <APOCAL at cpan.org>'
   ],
   'dist_name' => 'POE-Component-SSLify',
-  'dist_version' => '1.002',
+  'dist_version' => '1.003',
   'license' => 'perl',
   'module_name' => 'POE::Component::SSLify',
   'recommends' => {},
@@ -32,10 +32,9 @@
   'requires' => {
     'Exporter' => '0',
     'IO::Handle' => '1.28',
-    'Net::SSLeay' => '0',
+    'Net::SSLeay' => '1.36',
     'Symbol' => '0',
-    'perl' => '5.006',
-    'vars' => '0'
+    'perl' => '5.006'
   },
   'script_files' => []
 );

Modified: branches/upstream/libpoe-component-sslify-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/Changes?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/Changes (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/Changes Tue Mar  1 12:24:34 2011
@@ -1,9 +1,15 @@
 Revision history for Perl extension POE::Component::SSLify.
+
+1.003
+	Released: 2011-02-28 15:52:24 UTC
+
+	Add $IGNORE_SSL_ERRORS to ignore certain SSL errors, thanks MNUNBERG - RT#66130
+	Remove prereq on vars.pm as it's obsolete
 
 1.002
 	Released: 2011-02-20 04:23:48 UTC
 
-	Add SSLify_GetSSL to get the Net::SSLeay object, thanks mordy at irc!
+	Add SSLify_GetSSL to get the Net::SSLeay object, thanks MNUNBERG!
 
 1.001
 	Released: 2011-02-13 18:11:07 UTC
@@ -14,7 +20,7 @@
 	Released: 2011-02-13 00:06:14 UTC
 
 	Converted to Dist::Zilla for the release process!
-	Add a test for in-situ sslification, thanks mordy at irc!
+	Add a test for in-situ sslification, thanks MNUNBERG!
 	Add prereq for IO::Handle 1.28 to get sane $socket->blocking( 0 ) behavior on MSWin32
 	Remove crufty old code for nonblocking and use $socket->blocking() instead
 

Modified: branches/upstream/libpoe-component-sslify-perl/current/CommitLog
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/CommitLog?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/CommitLog (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/CommitLog Tue Mar  1 12:24:34 2011
@@ -1,6 +1,38 @@
 ==============================
 9999-99-99 99:99:99 +0000 HEAD
 ==============================
+
+  commit 367645dabcbc3ca12aae0c32d7a2e8847274865e
+  Author: Apocalypse <perl at 0ne.us>
+  Date:   Mon Feb 28 08:51:38 2011 -0700
+  
+    add note about MSWin32
+
+  commit 8dfc5acbbad45910fc93a6688661fb5c46cffd59
+  Author: Apocalypse <perl at 0ne.us>
+  Date:   Mon Feb 28 08:46:09 2011 -0700
+  
+    add IGNORE_SSL_ERRORS, thanks MNUNBERG
+
+  commit cf26ebeb385b4a44dd20a1fa877905e3b948fd74
+  Author: Apocalypse <perl at 0ne.us>
+  Date:   Mon Feb 21 00:01:02 2011 -0700
+  
+    add explicit Net::SSLeay version req 
+
+=======================================
+2011-02-19 21:24:02 -0700 release-1.002
+=======================================
+
+  commit e20a8d5cd43978e14b22d50b884edc14f06a72c6
+  Author: Apocalypse <perl at 0ne.us>
+  Date:   Sat Feb 19 21:24:02 2011 -0700
+  
+    New CPAN release of POE-Component-SSLify - v1.002
+
+    Released: 2011-02-20 04:23:48 UTC
+
+    Add SSLify_GetSSL to get the Net::SSLeay object, thanks mordy at irc!
 
   commit b4269ddff7e04f09a8f304891469fbdc962e740c
   Author: Apocalypse <perl at 0ne.us>

Modified: branches/upstream/libpoe-component-sslify-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/META.json?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/META.json (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/META.json Tue Mar  1 12:24:34 2011
@@ -35,10 +35,9 @@
          "requires" : {
             "Exporter" : 0,
             "IO::Handle" : "1.28",
-            "Net::SSLeay" : 0,
+            "Net::SSLeay" : "1.36",
             "Symbol" : 0,
-            "perl" : "5.006",
-            "vars" : 0
+            "perl" : "5.006"
          }
       },
       "test" : {
@@ -56,15 +55,15 @@
    "provides" : {
       "POE::Component::SSLify" : {
          "file" : "lib/POE/Component/SSLify.pm",
-         "version" : "1.002"
+         "version" : "1.003"
       },
       "POE::Component::SSLify::ClientHandle" : {
          "file" : "lib/POE/Component/SSLify/ClientHandle.pm",
-         "version" : "1.002"
+         "version" : "1.003"
       },
       "POE::Component::SSLify::ServerHandle" : {
          "file" : "lib/POE/Component/SSLify/ServerHandle.pm",
-         "version" : "1.002"
+         "version" : "1.003"
       }
    },
    "release_status" : "stable",
@@ -83,7 +82,7 @@
          "web" : "http://github.com/apocalypse/perl-poe-sslify"
       }
    },
-   "version" : "1.002",
+   "version" : "1.003",
    "x_BuiltWith" : {
       "modules" : {
          "Exporter" : "5.63",
@@ -98,8 +97,7 @@
          "Socket" : "1.80",
          "Symbol" : "1.06",
          "Test::More" : "0.96",
-         "perl" : "NA(skipped: perl)",
-         "vars" : "1.01"
+         "perl" : "NA(skipped: perl)"
       },
       "perl" : {
          "original" : "v5.10.0",
@@ -118,7 +116,7 @@
          {
             "class" : "Dist::Zilla::Plugin::Git::NextVersion",
             "name" : "@Apocalyptic/Git::NextVersion",
-            "version" : "1.103470"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::GatherDir",
@@ -302,7 +300,7 @@
          {
             "class" : "Dist::Zilla::Plugin::Git::Check",
             "name" : "@Apocalyptic/Git::Check",
-            "version" : "1.103470"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::ConfirmRelease",
@@ -322,17 +320,17 @@
          {
             "class" : "Dist::Zilla::Plugin::Git::Commit",
             "name" : "@Apocalyptic/Git::Commit",
-            "version" : "1.103470"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Tag",
             "name" : "@Apocalyptic/Git::Tag",
-            "version" : "1.103470"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Push",
             "name" : "@Apocalyptic/Git::Push",
-            "version" : "1.103470"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",

Modified: branches/upstream/libpoe-component-sslify-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/META.yml?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/META.yml (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/META.yml Tue Mar  1 12:24:34 2011
@@ -28,26 +28,25 @@
 provides:
   POE::Component::SSLify:
     file: lib/POE/Component/SSLify.pm
-    version: 1.002
+    version: 1.003
   POE::Component::SSLify::ClientHandle:
     file: lib/POE/Component/SSLify/ClientHandle.pm
-    version: 1.002
+    version: 1.003
   POE::Component::SSLify::ServerHandle:
     file: lib/POE/Component/SSLify/ServerHandle.pm
-    version: 1.002
+    version: 1.003
 requires:
   Exporter: 0
   IO::Handle: 1.28
-  Net::SSLeay: 0
+  Net::SSLeay: 1.36
   Symbol: 0
   perl: 5.006
-  vars: 0
 resources:
   bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=POE-Component-SSLify
   homepage: http://search.cpan.org/dist/POE-Component-SSLify/
   license: http://dev.perl.org/licenses/
   repository: git://github.com/apocalypse/perl-poe-sslify.git
-version: 1.002
+version: 1.003
 x_BuiltWith:
   modules:
     Exporter: 5.63
@@ -63,7 +62,6 @@
     Symbol: 1.06
     Test::More: 0.96
     perl: 'NA(skipped: perl)'
-    vars: 1.01
   perl:
     original: v5.10.0
     qv: 1
@@ -78,7 +76,7 @@
     -
       class: Dist::Zilla::Plugin::Git::NextVersion
       name: '@Apocalyptic/Git::NextVersion'
-      version: 1.103470
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::GatherDir
       name: '@Apocalyptic/GatherDir'
@@ -224,7 +222,7 @@
     -
       class: Dist::Zilla::Plugin::Git::Check
       name: '@Apocalyptic/Git::Check'
-      version: 1.103470
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::ConfirmRelease
       name: '@Apocalyptic/ConfirmRelease'
@@ -240,15 +238,15 @@
     -
       class: Dist::Zilla::Plugin::Git::Commit
       name: '@Apocalyptic/Git::Commit'
-      version: 1.103470
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::Git::Tag
       name: '@Apocalyptic/Git::Tag'
-      version: 1.103470
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::Git::Push
       name: '@Apocalyptic/Git::Push'
-      version: 1.103470
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':InstallModules'

Modified: branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL Tue Mar  1 12:24:34 2011
@@ -31,11 +31,10 @@
   'PREREQ_PM' => {
     'Exporter' => '0',
     'IO::Handle' => '1.28',
-    'Net::SSLeay' => '0',
-    'Symbol' => '0',
-    'vars' => '0'
+    'Net::SSLeay' => '1.36',
+    'Symbol' => '0'
   },
-  'VERSION' => '1.002',
+  'VERSION' => '1.003',
   'test' => {
     'TESTS' => 't/*.t'
   }

Modified: branches/upstream/libpoe-component-sslify-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/README?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/README (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/README Tue Mar  1 12:24:34 2011
@@ -2,7 +2,7 @@
     POE::Component::SSLify - Makes using SSL in the world of POE easy!
 
 VERSION
-      This document describes v1.002 of POE::Component::SSLify - released February 19, 2011 as part of POE-Component-SSLify.
+      This document describes v1.003 of POE::Component::SSLify - released February 28, 2011 as part of POE-Component-SSLify.
 
 SYNOPSIS
             # CLIENT-side usage
@@ -189,7 +189,7 @@
   Socket methods doesn't work
     The new socket this module gives you actually is some tied socket magic,
     so you cannot do stuff like getpeername() or getsockname(). The only way
-    to do it is to use SSLify_GetSocket and then operate on the socket it
+    to do it is to use "SSLify_GetSocket" and then operate on the socket it
     returns.
 
   Dying everywhere...
@@ -210,6 +210,18 @@
                     if ( $@ ) {
                             # Unable to SSLify the socket...
                     }
+            }
+
+   $IGNORE_SSL_ERRORS
+    As of SSLify v1.003 you can override this variable to temporarily ignore
+    some SSL errors. This is useful if you are doing crazy things with the
+    underlying Net::SSLeay stuff and don't want to die. However, it won't
+    ignore all errors as some is still considered fatal. Here's an example:
+
+            {
+                    local $POE::Component::SSLify::IGNORE_SSL_ERRORS=1;
+                    my $ctx = SSLify_CreateContext(...);
+                    #Some more stuff
             }
 
   OpenSSL functions
@@ -225,11 +237,17 @@
     that you're on a broken system. However, if you have the updated OpenSSL
     library that fixes this you can use it.
 
-   In-Situ sslification
+  In-Situ sslification
     You can have a normal plaintext socket, and convert it to SSL anytime.
     Just keep in mind that the client and the server must agree to sslify at
     the same time, or they will be waiting on each other forever! See
     "t/3_insitu.t" for an example of how this works.
+
+  MSWin32 is not supported
+    This module doesn't work on MSWin32 platforms at all ( XP, Vista, 7, etc
+    ) because of some weird underlying fd issues. Since I'm not a windows
+    developer, I'm unable to fix this. However, it seems like Cygwin on
+    MSWin32 works just fine! Please help me fix this if you can, thanks!
 
 EXPORT
             Stuffs all of the above functions in @EXPORT_OK so you have to request them directly

Modified: branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE Tue Mar  1 12:24:34 2011
@@ -14,35 +14,35 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 824ac753cab91f2771cc02d2ef2ea3adcb553b3d Build.PL
-SHA1 077d1b83cbdd3c5868246267d529f6ba86c9f5ae Changes
-SHA1 bccfcc0e06e54b64690760210bffb659fc37d8a3 CommitLog
+SHA1 f7303c3c5c4c01b8a3978878bb9694def4f21c85 Build.PL
+SHA1 8c6118bc38d4a238e2bcecae98dd9aae02f8e084 Changes
+SHA1 9579320245a7d68298b8024574c2c4f7f56dca08 CommitLog
 SHA1 e3edc44697d1770c65fec99f6ebdb6ea55fb3050 INSTALL
 SHA1 263360e99a0de4d587fedefe1a919dcf61af1d10 LICENSE
 SHA1 9b47f2f0b927dcb7cab2cc1f7daa62c5b50c55f8 MANIFEST
 SHA1 9dfc07c5655b958e800189837f3ddd37ca050bfe MANIFEST.SKIP
-SHA1 46a26e693e358bfaae14207085afe55ba6eaf361 META.json
-SHA1 c365eb8b83298415d1943bdab6d34d73857572d2 META.yml
-SHA1 b6349b4bc00f32576a8824dc472b2ccc2090d121 Makefile.PL
-SHA1 f35f0e1a391125f6e2d8db296430007ab257a6dc README
+SHA1 48c9ad465a56b101fa1ac5c85999f30d1331887f META.json
+SHA1 65aafd261f00a99d6b29708e37d61f61669672b6 META.yml
+SHA1 29dba82edeb60493a1160a55ca1e884384e85031 Makefile.PL
+SHA1 e9990bb66d60541b446cdb31e1aaec34de041314 README
 SHA1 41a5da1356107d097f6bbf72c62ee4da83e4119f dist.ini
 SHA1 96decb1c51052f9b024b6d069e428b4ccc19e909 examples/client.pl
 SHA1 d8f9b44df461cdcf6cbd7cffd79a9d49aade3947 examples/server.pl
 SHA1 c4a936c75d1d566e936dfb1776c9a01ea244c618 examples/serverclient.pl
-SHA1 443d26c5a8beaaa9645707f05103bc05143a1531 lib/POE/Component/SSLify.pm
-SHA1 b8e2f2b009899b565d7e654318620a69c14c52e0 lib/POE/Component/SSLify/ClientHandle.pm
-SHA1 963fb5f3d99a99218836cac8c246735ef4ef66b0 lib/POE/Component/SSLify/ServerHandle.pm
+SHA1 c078b1a678963b8b598da16e962710dff5744cc6 lib/POE/Component/SSLify.pm
+SHA1 d9b21917a7729440324ba06a73ae033b3e98cf08 lib/POE/Component/SSLify/ClientHandle.pm
+SHA1 3b6e6a9a9be570576af4b4317410bb4c1276407f lib/POE/Component/SSLify/ServerHandle.pm
 SHA1 59afa28f138a14b956443f915d60a891d5b306b8 mylib/example.crt
 SHA1 f2ba02d28cfb207e0a86be7cb4f3c570f257bf93 mylib/example.key
 SHA1 fd48b12e3df15fb55695e7d1b4ee95dc3c0cd766 t/00-compile.t
-SHA1 17448d647ba0e9c5c6785b7f8d7757c3e19e1e47 t/000-report-versions-tiny.t
+SHA1 82a0e48ffb58ff738831c80a41071c607012f483 t/000-report-versions-tiny.t
 SHA1 a0fb19347ec360acca7bb08e1b2e437179ef3cfa t/1_simple.t
 SHA1 c625a70ac63ea5d6a0fabd07130f1d3a905b1933 t/2_renegotiate.t
 SHA1 034a72d7403a58a756c8cbd2b1ce15afd9acf333 t/3_insitu.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)
 
-iEYEARECAAYFAk1gl10ACgkQGfr7vsGKgxwytACeNcYDu9CjrhwX+PHHvxsh90tB
-xlMAn3NNRBe0mWb5DqISPlLucrQBl9+D
-=Xtye
+iEYEARECAAYFAk1rxMAACgkQGfr7vsGKgxyM4gCgnEeAD1ZuBBv0wbhPsQ1CZW9f
+FAUAn2EkEydhhQOwiKB4qH8o4FNv6OJR
+=aEEu
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm Tue Mar  1 12:24:34 2011
@@ -9,7 +9,7 @@
 use strict; use warnings;
 package POE::Component::SSLify;
 BEGIN {
-  $POE::Component::SSLify::VERSION = '1.002';
+  $POE::Component::SSLify::VERSION = '1.003';
 }
 BEGIN {
   $POE::Component::SSLify::AUTHORITY = 'cpan:APOCAL';
@@ -44,9 +44,8 @@
 
 # Do the exporting magic...
 require Exporter;
-use vars qw( @ISA @EXPORT_OK );
- at ISA = qw( Exporter );
- at EXPORT_OK = qw( Client_SSLify Server_SSLify SSLify_Options SSLify_GetCTX SSLify_GetCipher SSLify_GetSocket SSLify_GetSSL SSLify_ContextCreate );
+our @ISA = qw( Exporter );
+our @EXPORT_OK = qw( Client_SSLify Server_SSLify SSLify_Options SSLify_GetCTX SSLify_GetCipher SSLify_GetSocket SSLify_GetSSL SSLify_ContextCreate );
 
 # Bring in some socket-related stuff
 use Symbol qw( gensym );
@@ -57,6 +56,9 @@
 
 # The server-side CTX stuff
 my $ctx = undef;
+
+# global so users of this module can override it locally
+our $IGNORE_SSL_ERRORS = 0;
 
 
 sub Client_SSLify {
@@ -172,20 +174,21 @@
 
 	# do we need to set options?
 	if ( defined $options ) {
-		Net::SSLeay::CTX_set_options( $context, $options ) and die_if_ssl_error( 'ssl ctx set options' );
+		Net::SSLeay::CTX_set_options( $context, $options );
+		die_if_ssl_error( 'ssl ctx set options' ) if ! $IGNORE_SSL_ERRORS;
 	}
 
 	# do we need to set key/etc?
 	if ( defined $key ) {
 		# Following will ask password unless private key is not encrypted
 		Net::SSLeay::CTX_use_RSAPrivateKey_file( $context, $key, &Net::SSLeay::FILETYPE_PEM );
-		die_if_ssl_error( 'private key' );
+		die_if_ssl_error( 'private key' ) if ! $IGNORE_SSL_ERRORS;
 	}
 
 	# Set the cert file
 	if ( defined $cert ) {
 		Net::SSLeay::CTX_use_certificate_file( $context, $cert, &Net::SSLeay::FILETYPE_PEM );
-		die_if_ssl_error( 'certificate' );
+		die_if_ssl_error( 'certificate' ) if ! $IGNORE_SSL_ERRORS;
 	}
 
 	# All done!
@@ -232,7 +235,7 @@
 
 =head1 VERSION
 
-  This document describes v1.002 of POE::Component::SSLify - released February 19, 2011 as part of POE-Component-SSLify.
+  This document describes v1.003 of POE::Component::SSLify - released February 28, 2011 as part of POE-Component-SSLify.
 
 =head1 SYNOPSIS
 
@@ -431,7 +434,7 @@
 =head2 Socket methods doesn't work
 
 The new socket this module gives you actually is some tied socket magic, so you cannot do stuff like
-getpeername() or getsockname(). The only way to do it is to use SSLify_GetSocket and then operate on
+getpeername() or getsockname(). The only way to do it is to use L</SSLify_GetSocket> and then operate on
 the socket it returns.
 
 =head2 Dying everywhere...
@@ -454,6 +457,18 @@
 		}
 	}
 
+=head3 $IGNORE_SSL_ERRORS
+
+As of SSLify v1.003 you can override this variable to temporarily ignore some SSL errors. This is useful if you are doing crazy things
+with the underlying Net::SSLeay stuff and don't want to die. However, it won't ignore all errors as some is still considered fatal.
+Here's an example:
+
+	{
+		local $POE::Component::SSLify::IGNORE_SSL_ERRORS=1;
+		my $ctx = SSLify_CreateContext(...);
+		#Some more stuff
+	}
+
 =head2 OpenSSL functions
 
 Theoretically you can do anything that Net::SSLeay exports from the OpenSSL libs on the socket. However, I have not tested every
@@ -465,10 +480,15 @@
 L<http://security.freebsd.org/advisories/FreeBSD-SA-09:15.ssl.asc> which explains it in detail. The test will skip this function
 if it detects that you're on a broken system. However, if you have the updated OpenSSL library that fixes this you can use it.
 
-=head3 In-Situ sslification
+=head2 In-Situ sslification
 
 You can have a normal plaintext socket, and convert it to SSL anytime. Just keep in mind that the client and the server must agree to sslify
 at the same time, or they will be waiting on each other forever! See C<t/3_insitu.t> for an example of how this works.
+
+=head2 MSWin32 is not supported
+
+This module doesn't work on MSWin32 platforms at all ( XP, Vista, 7, etc ) because of some weird underlying fd issues. Since I'm not a windows
+developer, I'm unable to fix this. However, it seems like Cygwin on MSWin32 works just fine! Please help me fix this if you can, thanks!
 
 =head1 EXPORT
 

Modified: branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm Tue Mar  1 12:24:34 2011
@@ -9,7 +9,7 @@
 use strict; use warnings;
 package POE::Component::SSLify::ClientHandle;
 BEGIN {
-  $POE::Component::SSLify::ClientHandle::VERSION = '1.002';
+  $POE::Component::SSLify::ClientHandle::VERSION = '1.003';
 }
 BEGIN {
   $POE::Component::SSLify::ClientHandle::AUTHORITY = 'cpan:APOCAL';
@@ -18,12 +18,11 @@
 # ABSTRACT: Client-side handle for SSLify
 
 # Import the SSL death routines
-use Net::SSLeay qw( die_now die_if_ssl_error );
+use Net::SSLeay 1.36 qw( die_now die_if_ssl_error );
 
 # We inherit from ServerHandle
-use vars qw( @ISA );
 require POE::Component::SSLify::ServerHandle;
- at ISA = qw( POE::Component::SSLify::ServerHandle );
+our @ISA = qw( POE::Component::SSLify::ServerHandle );
 
 # Override TIEHANDLE because we create a CTX
 sub TIEHANDLE {
@@ -69,7 +68,7 @@
 
 =head1 VERSION
 
-  This document describes v1.002 of POE::Component::SSLify::ClientHandle - released February 19, 2011 as part of POE-Component-SSLify.
+  This document describes v1.003 of POE::Component::SSLify::ClientHandle - released February 28, 2011 as part of POE-Component-SSLify.
 
 =head1 DESCRIPTION
 

Modified: branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm Tue Mar  1 12:24:34 2011
@@ -9,7 +9,7 @@
 use strict; use warnings;
 package POE::Component::SSLify::ServerHandle;
 BEGIN {
-  $POE::Component::SSLify::ServerHandle::VERSION = '1.002';
+  $POE::Component::SSLify::ServerHandle::VERSION = '1.003';
 }
 BEGIN {
   $POE::Component::SSLify::ServerHandle::AUTHORITY = 'cpan:APOCAL';
@@ -18,7 +18,7 @@
 # ABSTRACT: Server-side handle for SSLify
 
 # Import the SSL death routines
-use Net::SSLeay qw( die_now die_if_ssl_error );
+use Net::SSLeay 1.36 qw( die_now die_if_ssl_error );
 
 # Ties the socket
 sub TIEHANDLE {
@@ -181,7 +181,7 @@
 
 =head1 VERSION
 
-  This document describes v1.002 of POE::Component::SSLify::ServerHandle - released February 19, 2011 as part of POE-Component-SSLify.
+  This document describes v1.003 of POE::Component::SSLify::ServerHandle - released February 28, 2011 as part of POE-Component-SSLify.
 
 =head1 DESCRIPTION
 

Modified: branches/upstream/libpoe-component-sslify-perl/current/t/000-report-versions-tiny.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/t/000-report-versions-tiny.t?rev=70168&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/t/000-report-versions-tiny.t (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/t/000-report-versions-tiny.t Tue Mar  1 12:24:34 2011
@@ -53,14 +53,13 @@
 eval { $v .= pmver('File::Temp','any version') };
 eval { $v .= pmver('IO::Handle','1.28') };
 eval { $v .= pmver('Module::Build','0.3601') };
-eval { $v .= pmver('Net::SSLeay','any version') };
+eval { $v .= pmver('Net::SSLeay','1.36') };
 eval { $v .= pmver('POE','1.267') };
 eval { $v .= pmver('POE::Component::Client::TCP','any version') };
 eval { $v .= pmver('POE::Component::Server::TCP','any version') };
 eval { $v .= pmver('Socket','any version') };
 eval { $v .= pmver('Symbol','any version') };
 eval { $v .= pmver('Test::More','0.88') };
-eval { $v .= pmver('vars','any version') };
 
 
 




More information about the Pkg-perl-cvs-commits mailing list