projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bffe94d
)
fix connection errors to print service under deb 8 ? RT#75293
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 22 Mar 2017 23:07:21 +0000
(16:07 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 22 Mar 2017 23:07:21 +0000
(16:07 -0700)
FS/FS/Template_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Template_Mixin.pm
b/FS/FS/Template_Mixin.pm
index
7eae34a
..
9a576bb
100644
(file)
--- 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 $@;