mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #1501, use request ip for origin cluster. 3.0.66
This commit is contained in:
parent
488f16f60c
commit
e5285ecabf
7 changed files with 40 additions and 23 deletions
|
@ -231,9 +231,9 @@ string srs_any_address_for_listener()
|
|||
}
|
||||
|
||||
if (ipv6_active && !ipv4_active) {
|
||||
return "::";
|
||||
return SRS_CONSTS_LOOPBACK6;
|
||||
}
|
||||
return "0.0.0.0";
|
||||
return SRS_CONSTS_LOOPBACK;
|
||||
}
|
||||
|
||||
void srs_parse_endpoint(string hostport, string& ip, int& port)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue