puma
puma copied to clipboard
A Ruby/Rack web server built for parallelism
**Is your feature request related to a problem? Please describe.** Using puma in GitLab and running puma as a systemd service with type `notify` I ran into startup issues because...
This enables the correct scope of `Fiber.storage` per request. `Fiber[]` and `Fiber[]=` are recently introduced features in Ruby 3.2. They are designed to provide per-operation or per-request state handling. Using...
**Describe the bug** The `test_hot_restart_does_not_drop_connections_threads` sometimes fail, like: ``` Finished in 46.952074s, 12.1400 runs/s, 35.8238 assertions/s. Errors & Failures: 1) Failure: TestIntegrationCluster#test_hot_restart_does_not_drop_connections_threads [/tmp/guix-build-ruby-puma-6.2.0.drv-0/source/test/helpers/integration.rb:457]: Expected: 3000 Actual: 2999 570 runs, 1682...
### Description Currently, `Puma::Request` sets `env['rack.hijack']` to the `Puma::Client` instance. Instead of using the client instance, pass a method object that responds to `call`. The Rack spec for the object...
### Description This is just a small adjustment to what was done with https://github.com/puma/puma/pull/2770 This just also uses the custom logger for request logs aswell ### Your checklist for this...
**Describe the bug** The [comment][d] and the [code][a] suggest that if there are more than 1 worker, `preload_app` should be `true`, but it isn't. **Puma config:** The command line option...
### Description See https://github.com/rack/rack/pull/2115, which identifies a bug that occurs with `Rack::MockRequest.env_for`. See also [Rack Spec: The Input Stream](https://msp-greg.github.io/rack/file.SPEC.html#label-The+Input+Stream). More IO instance methods may need to be added to `Puma::NullIO`....
From https://github.com/puma/puma/issues/519#issuecomment-234831630 > Future work includes deferring sending the `100 Continue` until the app begins reading the request body (this is how Go handles this). There's a TODO in the...
…gins reading the body ### Description Please describe your pull request. Thank you for contributing! You're the best. ### Your checklist for this pull request - [x] I have reviewed...
**Describe the bug** I've recently rolled out Puma 6.2.2. In general, it's behaving well, however, I think `fork_worker` mode may be causing a few `Errno::EPIPE: Broken pipe` on my MongoDB...