summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/tls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/networking/tls.c b/networking/tls.c
index da7b605..99722cf 100644
--- a/networking/tls.c
+++ b/networking/tls.c
@@ -806,8 +806,6 @@ static int tls_xread_record(tls_state_t *tls, const char *expected)
|| xhdr->proto_min != TLS_MIN
) {
sz = total < target ? total : target;
- if (sz > 24)
- sz = 24; /* don't flood */
bad_record_die(tls, expected, sz);
}
dbg("xhdr type:%d ver:%d.%d len:%d\n",