You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When writing a multi-threaded program where each thread has its own postgres connection sometimes the program would crash if SSL was enabled.
Proposed solution
Because libpq depends on openssl <1.1.0 then it must define HAVE_CRYPTO_LOCK to be thread-safe.
Describe alternatives you've considered
If you upgrade to openssl 1.1.0+ then you do not need to define HAVE_CRYPTO_LOCK.
Additional context
original issue with stacktrace, example, etc: diesel-rs/diesel#2162
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When writing a multi-threaded program where each thread has its own postgres connection sometimes the program would crash if SSL was enabled.
Proposed solution
Because libpq depends on openssl <1.1.0 then it must define HAVE_CRYPTO_LOCK to be thread-safe.
Describe alternatives you've considered
If you upgrade to openssl 1.1.0+ then you do not need to define HAVE_CRYPTO_LOCK.
Additional context
original issue with stacktrace, example, etc: diesel-rs/diesel#2162
The text was updated successfully, but these errors were encountered: