[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] Fix various bugs when using the gnutls async API
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [patch] Fix various bugs when using the gnutls async API |
Date: |
Tue, 17 Aug 2010 17:55:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 |
On 08/11/2010 03:49 PM, Sjoerd Simons wrote:
> Hi,
>
> Our XMPP library (wocky) uses gnutls in a quite heavily async way, which
> unfortunately seems to have triggered some bugs in the lastest
> versions :/. Some patches for git HEAD attached, which seems to fix
> things nicely for me.
>
> Some extra comments for some of the patches:
> * 0003-Remember-the-amount-of-user-data-we-re-sending-out.patch
> I guess It could be argued that this information should be stored
> inside the record_send_buffer instead of in the session internal
> struct directly. I'm happy to change the patch around to do just
> that :)
Hello Sjoerd,
Thanks for the patches. I've applied 1 and 2. But on 3 I cannot get
what was the issue that mandated the change. Why you need the user
length instead of the byte length?
I am also wondering why the test program mini-egain that forces the pull
function to return eagain now and then, it didn't trigger the errors you
see. How do you trigger those issues?
best regards,
Nikos