[#SSL_SESSION_get_max_fragment_length]
= SSL&lowbar;SESSION&lowbar;get&lowbar;max&lowbar;fragment&lowbar;length
:mrdocs:

Return the Maximum Fragment Length extension mode negotiated for a session&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
uint8&lowbar;t
SSL&lowbar;SESSION&lowbar;get&lowbar;max&lowbar;fragment&lowbar;length(xref:SSL_SESSION.adoc[SSL&lowbar;SESSION] const* sess);
----

== Return Value

One of TLSEXT&lowbar;max&lowbar;fragment&lowbar;length&lowbar;&ast; (including TLSEXT&lowbar;max&lowbar;fragment&lowbar;length&lowbar;DISABLED when unset or unsupported)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sess*
| SSL session to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
