Files
swift-nio-ssl/Sources
Cory Benfield 18b26df5c3 Avoid using un-thread-safe static buffers when printing errors. (#102)
Motivation:

BoringSSL's docs make it pretty clear that ERR_error_string is not safe to use in a
concurrent context. Sadly, NIO is pretty damn concurrent, so we should probably stop using it.

Modifications:

- Rewrite the error printing logic to use ERR_error_string_n which takes a buffer to write
    into.

Result:

Error strings will not be corrupted in multithreaded contexts.
2019-04-17 11:31:40 +01:00
..
2019-03-01 17:25:33 +00:00