mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Small fix so that the host address of baa clients is show (which will be wrong if mongrel is behind a proxy server).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@143 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
f0147fbc0f
commit
08b5169a10
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ module Mongrel
|
|||
rescue EOFError,Errno::ECONNRESET,Errno::EPIPE,Errno::EINVAL
|
||||
# ignored
|
||||
rescue HttpParserError
|
||||
STDERR.puts "BAD CLIENT (#{params["REMOTE_ADDR"]}): #$!"
|
||||
STDERR.puts "BAD CLIENT (#{client.peeraddr.last}): #$!"
|
||||
STDERR.puts "REQUEST DATA: #{data}"
|
||||
rescue => details
|
||||
STDERR.puts "ERROR: #$!"
|
||||
|
|
Loading…
Reference in a new issue