Skip to content

Commit 77a271c

Browse files
authored
Do not require chunked anymore
Targeting rails 8 Rack 3 does not have chunked anymore
1 parent eae7ce0 commit 77a271c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/jruby/rack/DefaultRackApplicationFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public void initRuntime(final Ruby runtime) {
354354
runtime.evalScriptlet("JRuby::Rack::Response.dechunk = " + dechunkFlag);
355355
}
356356
else { // dechunk null (default) or not a true/false value ... we're patch :
357-
runtime.evalScriptlet("JRuby::Rack::Booter.on_boot { require 'jruby/rack/chunked' }");
357+
// runtime.evalScriptlet("JRuby::Rack::Booter.on_boot { require 'jruby/rack/chunked' }");
358358
// `require 'jruby/rack/chunked'` that happens after Rack is loaded
359359
}
360360
String swallowAbort = rackContext.getConfig().getProperty("jruby.rack.response.swallow_client_abort");

0 commit comments

Comments
 (0)