This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
change localhost to 127.0.0.1 to avoid resolv problems
fixes
#795
Change-Id: Ic53060432ead0db0891c24b4abaf077c0d583546
changes/26/30926/1
Richard Fuchs
7 years ago
parent
e1e3f2f6df
commit
3845a43d0e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
t/auto-daemon-tests.pl
+ 1
- 1
t/auto-daemon-tests.pl
View File
@ -32,7 +32,7 @@ SKIP: {
# keep trying to connect to the control socket while daemon is starting up
my
$
c
;
for
(
1
..
300
)
{
$
c
=
NGCP::Rtpengine
-
>
new
(
$
ENV
{
RTPENGINE_HOST
}
//
'
localhost
'
,
$
ENV
{
RTPENGINE_PORT
}
//
2223
)
;
$
c
=
NGCP::Rtpengine
-
>
new
(
$
ENV
{
RTPENGINE_HOST
}
//
'
127.0.0.1
'
,
$
ENV
{
RTPENGINE_PORT
}
//
2223
)
;
last
if
$
c
-
>
{
socket
}
;
Time::HiRes::
usleep
(
100000
)
;
# 100 ms x 300 = 30 sec
}
Write
Preview
Loading…
Cancel
Save