View Ticket
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: Open Type: Code Defect
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2023-11-20 01:46:41
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