[freeside-commits] branch master updated. 56c9f718c7eb0bfc81ee848f1b4ed2b823612a42

Ivan ivan at 420.am
Wed Mar 22 16:07:31 PDT 2017


The branch, master has been updated
       via  56c9f718c7eb0bfc81ee848f1b4ed2b823612a42 (commit)
      from  bffe94d18041de995907fb8cc3fade4e8b20c241 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 56c9f718c7eb0bfc81ee848f1b4ed2b823612a42
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Mar 22 16:07:21 2017 -0700

    fix connection errors to print service under deb 8 ?  RT#75293

diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 7eae34a..9a576bb 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -2431,6 +2431,7 @@ sub postal_mail_fsinc {
     'ssl_opts' => { 
       verify_hostname => 0,
       SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE,
+      SSL_version     => 'SSLv3',
     }
   );
   my $response = $ua->request( POST $url, [
@@ -2461,7 +2462,8 @@ sub postal_mail_fsinc {
     'country'          => $bill_location->country,
   ]);
 
-  die "Print connection error: ". $response->message. "\n"
+  die "Print connection error: ". $response->message.
+      ' ('. $response->as_string. ")\n"
     unless $response->is_success;
 
   local $@;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Template_Mixin.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list