Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 28c6e42

Browse files
committed
openssl: disable HEARTBEAT TLS extension
Microsoft's IIS doesn't support it, and is not replying with ServerHello after receiving ClientHello which contains it. The good way might be allowing to opt-out this at runtime from javascript-land, but unfortunately OpenSSL doesn't support it right now. see #5119
1 parent f0b6889 commit 28c6e42

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

deps/openssl/openssl.gyp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@
1616
# No clue what these are for.
1717
'L_ENDIAN',
1818
'PURIFY',
19-
'_REENTRANT'
19+
'_REENTRANT',
20+
21+
# Heartbeat is a TLS extension, that couldn't be turned off or
22+
# asked to be not advertised. Unfortunately this is unacceptable for
23+
# Microsoft's IIS, which seems to be ignoring whole ClientHello after
24+
# seeing this extension.
25+
'OPENSSL_NO_HEARTBEATS',
2026
],
2127
'sources': [
2228
'openssl/ssl/bio_ssl.c',

0 commit comments

Comments
 (0)