Skip to content

Commit

Permalink
Set adequate frame limit to handle at leas a certificate.
Browse files Browse the repository at this point in the history
  • Loading branch information
krizhanovsky committed Dec 1, 2020
1 parent 53af08b commit f5c34fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tls/handshake.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def extra_extensions(self):
tls.TLSALPNProtocol(data="http/2.0")]),

tls.TLSExtension() /
tls.TLSExtMaxFragmentLength(fragment_length=0x01), # 512 bytes
tls.TLSExtMaxFragmentLength(fragment_length=0x04), # 4096 bytes

tls.TLSExtension() /
tls.TLSExtCertificateURL(certificate_urls=[
Expand Down

0 comments on commit f5c34fd

Please sign in to comment.