Skip to content

Commit

Permalink
HTTP KA support
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Aug 18, 2012
1 parent 5fdedc0 commit 2eb6323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webmachine/adapters/reel.rb
Expand Up @@ -20,7 +20,7 @@ def run
end end


def process(connection) def process(connection)
if wreq = connection.request while wreq = connection.request
header = Webmachine::Headers[wreq.headers.dup] header = Webmachine::Headers[wreq.headers.dup]
requri = URI::HTTP.build(:host => header.fetch('Host').split(':').first, requri = URI::HTTP.build(:host => header.fetch('Host').split(':').first,
:port => header.fetch('Host').split(':').last.to_i, :port => header.fetch('Host').split(':').last.to_i,
Expand Down

0 comments on commit 2eb6323

Please sign in to comment.