The TLS specification (RFC 8446) section 5.4 defines optional Record Padding: https://tools.ietf.org/html/rfc8446#section-5.4 As a security improvement, I suggest that httpd implement random record padding. Random record padding would mitigate the BREACH attack (and other similar) vulnerabilities. In OpenSSL, this is done using SSL_CTX_set_record_padding_callback: https://www.openssl.org/docs/man1.1.1/man3/SSL_set_block_padding.html