View Ticket
15:31 Closed ticket [bb7085cfdc]: Test tlsIO-8.1 breaks on FreeBSD plus 5 other changes artifact: b0b1c58403 user: jan.nijtmans
Fix [bb7085cfdc]: Test tlsIO-8.1 breaks on FreeBSD check-in: 5128841292 user: jan.nijtmans tags: trunk, main
01:46 New ticket [bb7085cfdc] Test tlsIO-8.1 breaks on FreeBSD. artifact: 68ad7f77a7 user: doofus

Ticket Hash: bb7085cfdcc8c12d18911ce54af574232d568fdd
Title: Test tlsIO-8.1 breaks on FreeBSD
Status: Closed Type: Code Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2024-02-23 15:31:36
Version Found In: 1.7.22
User Comments:
doofus added on 2023-11-20 01:46:41:

Without the patch, the gets from the non-blocking socket $s1 returns an empty string here, instead of the bye written into it from the other side:

--- tests/tlsIO.test 2020-10-12 16:39:22.000000000 -0400
+++ tests/tlsIO.test 2023-11-19 20:33:44.077356000 -0500
@@ -1106,4 +1106,5 @@
     # need update to complete TLS handshake in-process
+    fconfigure $s1 -blocking 1
     set z [gets $s1]
     close $s

jan.nijtmans added on 2024-02-23 15:31:36:

Fixed [here]