diff --git a/expected/http.out b/expected/http.out index 1cdf6fd..e9dd409 100644 --- a/expected/http.out +++ b/expected/http.out @@ -295,7 +295,7 @@ SHOW http.CURLOPT_CAINFO; -- reset it RESET http.CURLOPT_CAINFO; -SELECT status FROM http_get('http://localhost:9080/delay/7'); +SELECT status FROM http_get(current_setting('http.server_host') || '/delay/7'); status -------- 200 @@ -306,7 +306,7 @@ SET statement_timeout = 200; CREATE TEMPORARY TABLE timer AS SELECT now() AS start; SELECT * - FROM http_get('http://localhost:9080/delay/7'); + FROM http_get(current_setting('http.server_host') || '/delay/7'); ERROR: HTTP request cancelled SELECT round(extract(epoch FROM now() - start) * 10) AS m FROM timer;