Motivation:
To do proper performance work it's necessary to have insight into what
programs are actually doing. One of the two major axes the SwiftNIO
project uses to measure is heap allocations. Currently swift-nio-ssl has
no introspection of heap allocations, so doing informed performance work
is very hard.
Modifications:
- Added the allocation counter test framework.
- Added two allocation counter tests.
Result:
Better idea of what's going on in heap allocations.
Motivation:
We want the CI to make sure we don't accidentally regress the executable
stack property of the binary.
Modifications:
Run execstack against our build output in the integration tests.
Result:
We shouldn't regress the executable stacks.
Motivation:
While TLS renegotiation is in general a bad idea, it is widely used for
delayed TLS-based client authentication. We are able to support this
use-case, and so we should enable it.
As with BoringSSL, we'd like to continue to default to not supporting
this mode of operation. However, users are free to enable support if
they so choose.
Modifications:
- Added flags for configuring renegotiation.
- Added integration test harness.
- Added renegotiation integration test with s_server.
- Added renegotiation and client cert support to sample client.
Result:
Users will be able to perform TLS renegotiation.