<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<div style="">
<p dir="auto">OK, I think I figured out the causes of 1 and 2:</p>
<ol dir="auto">
<li>we need to check <code>session->internals.handshake_header_recv_buffer.length</code> as well as <code>session->internals.handshake_recv_buffer_size</code> in <code>record_add_to_buffers</code>. should be a one-line fix.</li>
<li>The test expects that the reply comes before it sends the next ApplicationData, while GnuTLS defers the reply until it sends the next ApplicationData. As I mentioned in <a href="https://github.com/tomato42/tlsfuzzer/issues/547#issuecomment-487591261" rel="nofollow noreferrer noopener" target="_blank">another tlsfuzzer issue</a>, this is not technically wrong.</li>
</ol>
<p dir="auto"><a href="https://gitlab.com/tomato42" data-user="258094" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Hubert Kario (@mention me if you need reply)">@tomato42</a> what do you think?</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/699#note_171593568">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/f9b504ba60d4db110974aaea753c6ec9/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/699#note_171593568"}}</script>

</p>
</div>
</body>
</html>