From b7a8103b26757cd787bc8c9e46a916fe0aa8d105 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 9 Jan 2016 20:54:13 -0800 Subject: [PATCH] Typo --- lib/http/request/writer.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/http/request/writer.rb b/lib/http/request/writer.rb index d0edeeec..5351a13e 100644 --- a/lib/http/request/writer.rb +++ b/lib/http/request/writer.rb @@ -72,10 +72,10 @@ def send_request when NilClass write(headers) when String - # It's important to send the request in a single write call if - # in order to play nicely with Nagle's algorithm. Making two writes - # in a row triggers a pathological case where Nagle is expecting a - # third write that never happens. + # It's important to send the request in a single write call when + # possible in order to play nicely with Nagle's algorithm. Making + # two writes in a row triggers a pathological case where Nagle is + # expecting a third write that never happens. write(headers << @body) when Enumerable write(headers)