Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/haproxy: release 2.19 #1498

Merged
merged 4 commits into from Sep 10, 2019

Conversation

@fraenki
Copy link
Member

fraenki commented Sep 9, 2019

WARNING

This release introduces the HAProxy 2.0 release series. This is a major change and may break existing configurations. Please test thoroughly before using this version in production.

New features

  • switch to HAProxy 2.0 release series (#1089)
  • add support for the "max-object-size" cache configuration option (#1458)
  • add end-to-end HTTP/2 support (details)
  • add support for the random balancing algorithm (details)

Bugfixes

  • fix IPv6 validation in frontends (#540)

Enhancements

  • add IPv6 example to listen address help text
  • update URLs to HAProxy 2.0 documentation
  • frontends: move HTTP/2 option to HTTP settings
  • change order of frontend options

Known issues

  • HAProxy 2.0 validates errorfiles; errorfiles with invalid HTTP messages will prevent HAProxy's startup: "Unable to convert message in HTX for HTTP..."
@fraenki fraenki self-assigned this Sep 9, 2019
@fraenki fraenki changed the title [WIP] net/haproxy: release 2.19 net/haproxy: release 2.19 Sep 10, 2019
@fraenki fraenki merged commit 5dafec8 into opnsense:master Sep 10, 2019
@fraenki

This comment has been minimized.

Copy link
Member Author

fraenki commented Oct 14, 2019

HAProxy 2.0 validates errorfiles; errorfiles with invalid HTTP messages will prevent HAProxy's startup: "Unable to convert message in HTX for HTTP..."

For future reference, a valid errorfile MUST include all HTTP headers. A simple example:

HTTP/1.0 503 Service Unavailable
Cache-Control: no-cache
Connection: close
Content-Type: text/html


Oops. Error 503.

Note that you have to add two blank lines between the headers and the content.

See also:
http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#errorfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.