rbit / pydtls

Datagram Transport Layer Security for Python
Apache License 2.0
72 stars 45 forks source link

Application data MTU not exposed #26

Open BrianSipos opened 3 years ago

BrianSipos commented 3 years ago

DTLS 1.2 in RFC 6347 recommends that the DTLS implementation expose to the application layer the effective application data MTU given the record/ciphersuite overhead. The openssl function to do this is DTLS_get_data_mtu which is not currently part of the this API. I do see API for the application to hint to openssl what the underlayer network PMTU is.