ObjFW  View Ticket

Ticket UUID: 5ad1ca4257d66758f9e7a99308aef8dbddc18ae0
Title: OFTLSStream with OpenSSL implementation sometimes hangs
Status: Open Type: Code_Defect
Severity: Severe Priority: High
Subsystem: Resolution: Open
Last Modified: 2022-09-12 09:18:00
Version Found In: Milestone: 1.0
User Comments:
js added on 2022-09-12 09:05:11:

When using ofhttp to download a file via HTTPS and ObjFW compiled with OpenSSL for OFTLSStream support, downloads sometimes hang. I collected a few reproducers, but none of them work anymore. However, this issue sporadically still happens. It seems to depend on certain network conditions.

As a workaround, GnuTLS could be preferred over OpenSSL for 1.0, but then it's even less unlikely to find the root cause for this issue, so it might actually be good to release it with the broken OpenSSL support just to debug this further to fix it.


js added on 2022-09-12 09:18:00:

This seems to reproduce it (for now):

ofhttp https://github.com/vector-im/element-web/releases/download/v1.11.4/element-v1.11.4.tar.gz