diff options
-rw-r--r-- | lib/yahns/proxy_http_response.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yahns/proxy_http_response.rb b/lib/yahns/proxy_http_response.rb index 50c841d..3858456 100644 --- a/lib/yahns/proxy_http_response.rb +++ b/lib/yahns/proxy_http_response.rb @@ -91,8 +91,8 @@ module Yahns::HttpResponse # :nodoc: # For now, do not add a Date: header, assume upstream already did it # but do not care if they did not - res << (alive ? "Connection: keep-alive\r\n\r\n" - : "Connection: close\r\n\r\n") + res << (alive ? "Connection: keep-alive\r\n\r\n".freeze + : "Connection: close\r\n\r\n".freeze) # send the headers case rv = kgio_syssend(res, flags) |