mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
d692475955
* Rename Mongrel to Puma and move files appropriately * Add HttParser11#body method * Fix native.rake to not attempt C ext under JRuby * Mask out all of test_unix_socket.rb under JRuby
13 lines
345 B
Java
13 lines
345 B
Java
import java.io.IOException;
|
|
|
|
import org.jruby.Ruby;
|
|
import org.jruby.runtime.load.BasicLibraryService;
|
|
|
|
import org.jruby.puma.Http11;
|
|
|
|
public class PumaHttp11Service implements BasicLibraryService {
|
|
public boolean basicLoad(final Ruby runtime) throws IOException {
|
|
Http11.createHttp11(runtime);
|
|
return true;
|
|
}
|
|
}
|