Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix SERVER_PORT is pulled

  • Loading branch information...
commit d8da3db8634f2eb7b5965e8379a96875dd90b4f0 1 parent 858e41c
@carllerche carllerche authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/kirk/server/handler.rb
View
2  lib/kirk/server/handler.rb
@@ -73,7 +73,7 @@ def handle(target, base_request, request, response)
REMOTE_HOST => request.get_remote_host || "",
REMOTE_ADDR => request.get_remote_addr || "",
REMOTE_USER => request.get_remote_user || "",
- SERVER_PORT => request.get_server_port.to_s,
+ SERVER_PORT => request.get_local_port.to_s,
RACK_VERSION => ::Rack::VERSION)
# Process the content length
Please sign in to comment.
Something went wrong with that request. Please try again.