5.2.23
12/09/2023

[#289] No data read after StartTLS when built against gnutls
Summary No data read after StartTLS when built against gnutls
Queue gloox
Queue Version SVN
Type Bug
State Resolved
Priority 3. High
Owners js (at) camaya (dot) net
Requester linkmauve (at) linkmauve (dot) fr
Created 03/09/2020 (1370 days ago)
Due
Updated 03/17/2023 (267 days ago)
Assigned
Resolved 03/17/2023 (267 days ago)

History
03/17/2023 11:41:48 AM Jakob Schröter Comment #2
Assigned to Jakob Schröter
State ⇒ Resolved
Reply to this comment
Thanks for the report. This is now finally fixed in 1.0.25 and trunk.
03/09/2020 05:50:37 PM linkmauve (at) linkmauve (dot) fr Comment #1
State ⇒ Unconfirmed
New Attachment: testcase.cpp Download
Queue ⇒ gloox
Summary ⇒ No data read after StartTLS when built against gnutls
Type ⇒ Bug
Priority ⇒ 3. High
Reply to this comment
When gloox is built against gnutls, the log in process stops happening 
just before the second <stream:stream> should be received from the 
server. I can see in Wireshark that the data is received and complete, 
up to the <stream:features/> nonza.

It doesn’t happen if gloox is built against OpenSSL instead. It also 
doesn’t happen when gnutls is used and I’m running the testcase in 
strace.