Commit d59a17ec authored by Stefan Strogin's avatar Stefan Strogin Committed by Timothy B. Terriberry
Browse files

http: fix compilation with LibreSSL

LibreSSL defines OPENSSL_VERSION_NUMBER to 0x20000000L, but its API is
compatible with OpenSSL 1.0.1.
Therefore redefine OPENSSL_VERSION_NUMBER to 0x1000115fL (1.0.1u) if
LibreSSL is used.

Fixes: #2327
parent 1c1d6536
......@@ -358,6 +358,11 @@ typedef int op_sock;
# include <sys/timeb.h>
# include <openssl/x509v3.h>
# define OPENSSL_VERSION_NUMBER 0x1000115fL
# endif
/*The maximum number of simultaneous connections.
RFC 2616 says this SHOULD NOT be more than 2, but everyone on the modern web
ignores that (e.g., IE 8 bumped theirs up from 2 to 6, Firefox uses 15).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment