File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/ruby/rack/handler/servlet Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Servlet
2020 class DefaultEnv < Hash # The environment must be an instance of Hash !
2121
2222 BUILTINS = %w( rack.version rack.input rack.errors rack.url_scheme
23- rack.multithread rack.multiprocess rack.run_once
23+ rack.multithread rack.multiprocess rack.run_once rack.hijack?
2424 java.servlet_request java.servlet_response java.servlet_context
2525 jruby.rack.version ) .
2626 map! ( &:freeze )
@@ -235,6 +235,7 @@ def load_builtin(env, key)
235235 when 'rack.multithread' then env [ key ] = true
236236 when 'rack.multiprocess' then env [ key ] = false
237237 when 'rack.run_once' then env [ key ] = false
238+ when 'rack.hijack?' then env [ key ] = false
238239 when 'rack.input' then
239240 env [ key ] = @servlet_env ? JRuby ::Rack ::Input . new ( @servlet_env ) : nil
240241 when 'rack.errors' then context = rack_context
You can’t perform that action at this time.
0 commit comments