Vapor: 4.65.0 Release

Release date:
August 4, 2022
Previous version:
4.64.0 (released July 25, 2022)
Magnitude:
0 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 4.65.0

Lukasa

Directory Browser for 4.65.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

This patch was authored by @Lukasa and released by @0xTim.

Motivation

When using NIOSSL it is sometimes necessary to completely take over the certificate verification logic. NIOSSL exposes a callback for this, but it's currently hidden from Vapor users. We should let them get access to this callback.

Modifications

  • Added the callback to the HTTPServer configuration struct.
  • Plumbed the callback through.
  • Added some invalid test certs to the resources for the tests.
  • Added a test to confirm the override functions correctly.

Result

Users can override client cert validation.