github roadrunner-server/roadrunner v2.5.0-beta.2

latest releases: v2024.2.1, v2024.2.0, v2024.1.5...
pre-release3 years ago
  • ✏️ Add a new option to the log plugin to configure the line ending. By default, used \n.

New option:

# Logs plugin settings
logs:
    (....)
    # Line ending
    #
    # Default: "\n".
    line_ending: "\n"
  • ✏️ Access log support at the Info log level.
    ```yaml
    http:
    address: 127.0.0.1:55555
    max_request_size: 1024
    access_logs: true <-------- Access Logs ON/OFF
    middleware: []

pool:

num_workers: 2
max_jobs: 0
allocate_timeout: 60s
destroy_timeout: 60s
- ✏️ HTTP middleware to handle `X-Sendfile` [header](https://github.com/spiral/roadrunner-plugins/issues/9).
```yaml
http:
  address: 127.0.0.1:44444
  max_request_size: 1024
  middleware: ["sendfile"] <----- NEW MIDDLEWARE

  pool:
    num_workers: 2
    max_jobs: 0
    allocate_timeout: 60s
    destroy_timeout: 60s
  • ✏️ Server plugin can accept scripts (sh, bash, etc) in it's command configuration key:
    yaml server: command: "./script.sh OR sh script.sh" <--- UPDATED relay: "pipes" relay_timeout: "20s"
    The script should start a worker as the last command. For the pipes, scripts should not contain programs, which can close stdin, stdout or stderr.

Don't miss a new roadrunner release

NewReleases is sending notifications on new releases.