lib/goliath/connection.rb in goliath-0.9.0 vs lib/goliath/connection.rb in goliath-0.9.1
- old
+ new
@@ -21,12 +21,11 @@
@parser = Http::Parser.new
@parser.on_headers_complete = proc do |h|
env = Goliath::Env.new
- env[OPTIONS] = options
env[SERVER_PORT] = port.to_s
- env[LOGGER] = logger
+ env[RACK_LOGGER] = logger
env[OPTIONS] = options
env[STATUS] = status
env[CONFIG] = config
env[REMOTE_ADDR] = remote_address