mirror of
https://github.com/apple/swift-nio
synced 2026-11-28 05:14:23 +00:00
IntegrationTests: support more curl versions (#1163)
Motivation: Some curl versions need a hostname even when connecting to UDS. Modifications: Always add a host name. Result: More compatibility.
This commit is contained in:
1 parent
3c9bab0f50
commit
e540583b70
1 file changed
+2
-1
@@ -120,7 +120,8 @@ function start_server() {
|
||||
tmp_server_pid=$(get_server_pid "$token")
|
||||
echo "local token_open_fds" >> "$token"
|
||||
echo "token_open_fds='$(get_number_of_open_fds_for_pid "$tmp_server_pid")'" >> "$token"
|
||||
do_curl "$token" "http://$maybe_host:$curl_port/dynamic/pid"
|
||||
local curl_host=${maybe_host:-localhost}
|
||||
do_curl "$token" "http://$curl_host:$curl_port/dynamic/pid"
|
||||
}
|
||||
|
||||
function get_htdocs() {
|
||||
|
||||
Reference in new issue
Block a user