-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1667 Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
- Loading branch information
Showing
3 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tests/ext/background-sender/background_sender_ipv6_support.phpt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--TEST-- | ||
DD_AGENT_HOST with IPv6 works | ||
--SKIPIF-- | ||
<?php include __DIR__ . '/../startup_logging_skipif.inc'; ?> | ||
--ENV-- | ||
DD_AGENT_HOST=::1 | ||
--FILE-- | ||
<?php | ||
include_once __DIR__ . '/../startup_logging.inc'; | ||
|
||
$logs = dd_get_startup_logs([], ['DD_TRACE_DEBUG=1']); | ||
|
||
dd_dump_startup_logs($logs, [ | ||
'agent_url', | ||
]); | ||
?> | ||
--EXPECT-- | ||
agent_url: "http://[::1]:8126" |