[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #107929] gnutls_record_get_direction() can return the wrong directio
From: |
anonymous |
Subject: |
[sr #107929] gnutls_record_get_direction() can return the wrong direction after an interrupted gnutls_record_send() |
Date: |
Fri, 06 Jan 2012 20:37:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 |
Follow-up Comment #2, sr #107929 (project gnutls):
Yes, this seems to help a lot. :)
I added a new debug statement to the server, printed whenever
record_get_direction returned 0 after an interrupted write, or 1 after an
interrupted read. The statement was printed every time the session hung, and
it was always after an interrupted write.
With this patch, things seem to work well again :) It's hard to be 100% sure,
since I couldn't always reproduce the issue, but I haven't yet managed to
trigger a failure since applying the patch.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107929>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/