Tcl Library Source Code

View Ticket
Login
Ticket UUID: 022bca0ff5aa69095e2b83727236a50e152a4ae1
Title: Fix for dns: can't read "state(size)": no such element in array
Type: Patch Version: DNS 1.4.1
Submitter: DasBrain Created on: 2024-04-22 15:09:03
Subsystem: dns Assigned To: nobody
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2026-11-16 00:06:14
Resolution: None Closed By: nobody
    Closed on:
Description:
I noticed that the dns lookup would sometimes error with can't read "state(size)": no such element in array

The only way I can think of why this happens is when it reads exactly 1 byte from the tcp socket.

So, I made the stuff a bit more robust.
User Comments: serhiy.storchaka added on 2026-11-16 00:06:14:

Duplicate of [187a6fa7ae]; proposed fix in branch dns-tcp-partial-reads. The attachment isn't in my clone, so I could not compare it with that fix.


Attachments: