From 03301168c7acb8bfc3613375ba7f653ba454093f Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 16 Dec 2019 15:34:21 -0500 Subject: [PATCH] add connection: close to proxy request --- lib/philomena/http.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/philomena/http.ex b/lib/philomena/http.ex index 8ae9e704..b4b5f135 100644 --- a/lib/philomena/http.ex +++ b/lib/philomena/http.ex @@ -19,10 +19,10 @@ defmodule Philomena.Http do defp add_host(headers, url) do %{host: host} = URI.parse(url) - Keyword.merge(["Host": host], headers) + Keyword.merge(["Host": host, "Connection": "close"], headers) end defp proxy_host do Application.get_env(:philomena, :proxy_host) end -end \ No newline at end of file +end