aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_internal.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-11-19 13:50:35 +0100
committerIngela Anderton Andin <[email protected]>2018-12-03 19:42:07 +0100
commit6168cf2f5f8b5839b1a56ce870658d76faf3c22f (patch)
tree9333480a078138395129acb89cdce3a7acb8ef6d /lib/ssl/src/ssl_internal.hrl
parent19c6875fb10935864f6f28607c61700eaf56c59a (diff)
downloadotp-6168cf2f5f8b5839b1a56ce870658d76faf3c22f.tar.gz
otp-6168cf2f5f8b5839b1a56ce870658d76faf3c22f.tar.bz2
otp-6168cf2f5f8b5839b1a56ce870658d76faf3c22f.zip
ssl: Internaly use {active, N}
Make next_record an internal help function to next_event and avoid duplicate calls to tls_socket:setopts for setting the active option.
Diffstat (limited to 'lib/ssl/src/ssl_internal.hrl')
-rw-r--r--lib/ssl/src/ssl_internal.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl
index fd246e2550..63e751440a 100644
--- a/lib/ssl/src/ssl_internal.hrl
+++ b/lib/ssl/src/ssl_internal.hrl
@@ -60,6 +60,7 @@
-define(CDR_MAGIC, "GIOP").
-define(CDR_HDR_SIZE, 12).
+-define(INTERNAL_ACTIVE_N, 100).
-define(DEFAULT_TIMEOUT, 5000).
-define(NO_DIST_POINT, "http://dummy/no_distribution_point").