<p>iPXE currently does not support TLS connections with large certificate chains because it can not handle TLS handshake record fragmentation. So i think there should be an option to disable the request for fragmentation. Hence i would add a <code>confg/tls.h</code> to make changes to the behaviour of the tls implementation. By default the request for fragmentation is enabled, so nothing changes here, but if desired it can be turned of by undefining <code>TLS_FRAGMENTATION_ENABLED</code><br>
I also added the option <code>TLS_REQUESTED_MAX_FRAGMENT_LENGTH</code> for defining, if fragmentation is enabled, the requested maximum fragment length.</p>
<p>I appreciate your comments and feedback.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/ipxe/ipxe/pull/112'>https://github.com/ipxe/ipxe/pull/112</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add a configuration header for tls and an option to disable tls fragmentation</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/ipxe/ipxe/pull/112/files#diff-7dec84814ff22cafd52a93fa925bced7">src/config/tls.h</a>
    (26)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/112/files#diff-47247f70f178810f4e21a151edaf1d86">src/net/tls.c</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/ipxe/ipxe/pull/112.patch'>https://github.com/ipxe/ipxe/pull/112.patch</a></li>
  <li><a href='https://github.com/ipxe/ipxe/pull/112.diff'>https://github.com/ipxe/ipxe/pull/112.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ipxe/ipxe/pull/112">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFNGVBK36SBSUATP53CJO3RQBHOJANCNFSM4MZZAEYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFNGVFUOSWUOJ6UQ6QROCTRQBHOJA5CNFSM4MZZAEYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JEGMZPA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/pull/112",
"url": "https://github.com/ipxe/ipxe/pull/112",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>