v2.6.4

caddyserver/caddyv2.6.4Feb 14, 2023by github-actions[bot]

AI Summary

A hotfix for a regression in v2.6.3 regarding proxying chunked requests, along with deprecations for reverse proxy buffering options.

Key Highlights

  • Fix for proxying chunked requests.
  • Deprecation of `buffer_requests`, `buffer_responses`, and `max_buffer_size`.
  • Introduction of `request_buffers` and `response_buffers` options.

New Features

  • New `request_buffers` directive to enable request buffering.
  • New `response_buffers` directive to enable response buffering.

Full Release Notes

This release contains a hotfix for a regression in v2.6.3 related to proxying chunked requests. We recommend that all users who do so upgrade to v2.6.4.

Note that, in an effort to make error-prone configs less likely, we have deprecated the reverse proxy options:

- `buffer_requests`
- `buffer_responses`
- `max_buffer_size`

and have introduced 2 new ones which take a size argument to enable buffering:

- `request_buffers <size>`
- `response_buffers <size>`

The deprecated options will be removed in a later version of Caddy, so please start using the new parameters instead.

## Changelog
* 0db29e2c go.mod: Upgrade acmez and x/net
* 4b119a47 reverseproxy: Don't buffer chunked requests (fix #5366) (#5367)