Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Jan 10, 2016
1 parent a40cdc2 commit b7a8103
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/http/request/writer.rb
Expand Up @@ -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)
Expand Down

0 comments on commit b7a8103

Please sign in to comment.