lib/lamby/rack_http.rb in lamby_updated-5.2.2 vs lib/lamby/rack_http.rb in lamby_updated-5.2.4
- old
+ new
@@ -40,9 +40,12 @@
::Rack::SERVER_PROTOCOL => server_protocol,
::Rack::RACK_VERSION => ::Rack::VERSION,
::Rack::RACK_URL_SCHEME => 'https',
::Rack::RACK_INPUT => StringIO.new(body || ''),
::Rack::RACK_ERRORS => $stderr,
+ ::Rack::RACK_MULTITHREAD => false,
+ ::Rack::RACK_MULTIPROCESS => false,
+ ::Rack::RACK_RUNONCE => false,
LAMBDA_EVENT => event,
LAMBDA_CONTEXT => context
}.tap do |env|
ct = content_type
cl = content_length