Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
5f09e66f
Commit
5f09e66f
authored
Dec 27, 2012
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Need to LWP SSL on FreeBSD > 8 (was > 9).
parent
b17e841b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
protogeni/xmlrpc/Genixmlrpc.pm.in
protogeni/xmlrpc/Genixmlrpc.pm.in
+2
-2
No files found.
protogeni/xmlrpc/Genixmlrpc.pm.in
View file @
5f09e66f
...
...
@@ -186,7 +186,7 @@ sub CallMethod($$$@)
return undef;
}
if ($FBSD_MAJOR >=
9
) {
if ($FBSD_MAJOR >=
8
) {
require LWP::UserAgent;
require IO::Socket::SSL;
require Net::HTTPS;
...
...
@@ -255,7 +255,7 @@ sub CallMethod($$$@)
my $hreq = HTTP::Request->new(POST => $httpURL);
$hreq->content_type('
text
/
xml
');
$hreq->content($reqstr);
$hreq->protocol('
HTTP
/
1.0
') if ($FBSD_MAJOR >=
9
);
$hreq->protocol('
HTTP
/
1.0
') if ($FBSD_MAJOR >=
8
);
my $hresp = $ua->request($hreq);
# Do this or the next call gets messed up.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment