Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
648dcda9
Commit
648dcda9
authored
May 21, 2015
by
Wolfgang Bumiller
Committed by
Dietmar Maurer
May 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enclose ipv6 hosts in brackets in proxy_request()
parent
d8006fa7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
HTTPServer.pm
PVE/HTTPServer.pm
+2
-0
No files found.
PVE/HTTPServer.pm
View file @
648dcda9
...
...
@@ -583,6 +583,8 @@ sub proxy_request {
$target
=
"
http://
$host
:85
$uri
";
# keep alive for localhost is not worth (connection setup is about 0.2ms)
$keep_alive
=
0
;
}
elsif
(
Net::IP::
ip_is_ipv6
(
$host
))
{
$target
=
"
https://[
$host
]:8006
$uri
";
}
else
{
$target
=
"
https://
$host
:8006
$uri
";
}
...
...
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