View Ticket
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-05-28 00:23:29
Version Found In: 1.8
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
     update
+    fconfigure $s1 -blocking 1
     set z [gets $s1]
     close $s

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

Fixed [here]


bohagan added on 2024-05-28 00:23:29:
Also fixed in [104e43c85ed11a98]