Artifacts Associated With Ticket 54d730a47d
Ticket change [622c91955e] (rid 256818) by dgp on 2026-09-22 14:47:23:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
==== socket_inet6-2.3 tcp connection with client interface specified FAILED ==== Contents of test case: # $x == "ready" at this point set sock [socket -myaddr $localhost $localhost $listen] puts $sock hello flush $sock lappend x [gets $f] close $sock return $x ---- Result was: ready {hello ::1} ---- Result should have been (exact matching): ready {hello ::} ==== socket_inet6-2.3 FAILED ==== socket_inet6-7.1 testing socket specific options FAILED ==== Contents of test case: set s [socket $localhost $listen] set p [fconfigure $s -peername] close $s lappend l [string compare [lindex $p 0] $localhost] lappend l [string compare [lindex $p 2] $listen] lappend l [llength $p] ---- Result was: 1 0 3 ---- Result should have been (exact matching): 0 0 3 ==== socket_inet6-7.1 FAILED ==== socket_inet6-7.2 testing socket specific options FAILED ==== Contents of test case: set s [socket $localhost $listen] set p [fconfigure $s -sockname] close $s list [llength $p] [string match $localhost [lindex $p 0]] [expr {[lindex $p 2] == $listen}] ---- Result was: 3 0 0 ---- Result should have been (exact matching): 3 1 0 ==== socket_inet6-7.2 FAILED ==== socket_inet6-7.5 testing socket specific options FAILED ==== Contents of test case: set s [socket -server accept 0] proc accept {s a p} { global x set x [fconfigure $s -sockname] close $s } set listen [lindex [fconfigure $s -sockname] 2] set s1 [socket $localhost $listen] vwait x lappend l [lindex $x 0] [expr {[lindex $x 2] == $listen}] [llength $x] ---- Result was: ::1 1 3 ---- Result should have been (exact matching): :: 1 3 ==== socket_inet6-7.5 FAILED - foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "27. Channel Types"
- title initialized to: "New failures in socket.test"
- type initialized to: "Bug"
Ticket change [9757bda7cf] (rid 256819) by dgp on 2026-09-22 14:48:20:
- foundin changed to: "trunk"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [3eb02e48f0] (rid 256820) by sebres on 2026-09-22 17:16:29:
- icomment:
Hmm... Looks like it could be affected by [122d37d474e7768f]... What do <code>[tcltests::localIPv4Address]</code> and <code>[tcltests::localIPv6Address]</code> return on that particular system?
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [c66786aaa1] (rid 256971) by dgp on 2026-09-23 20:09:01:
- icomment:
$ make shell ... % source ../tests/tcltests.tcl % tcltests::localIPv6Address :: % set s [socket -server {} 0] sock55d7108e67e0 % chan configure $s -sockname 0.0.0.0 0.0.0.0 40205 :: :: 40205 The new utility command thinks the default IPv6 address is :: The reason why is seen above. This replaced a hard-coded value of ::1 That breaks things. - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [ad39762bac] (rid 256972) by gahr on 2026-09-23 21:12:51:
- icomment:
It works fine if we use [socket -server {} -myaddr localhost 0]. Since we prefer this version, it must be the case that your system doesn't like it. What's the result of set s [socket -server {} -myaddr localhost 0] chan configure $s -sockname ? - login: "gahr"
- mimetype: "text/plain"
- username: "gahr"
- icomment:
Ticket change [ee7d0b6dfe] (rid 256986) by dgp on 2026-09-24 12:28:17:
- icomment:
% set s [socket -server {} -myaddr localhost 0] sock555a5612a2a0 % chan configure $s -sockname 127.0.0.1 localhost 43881 This gets the expected value for the IPv4 but contributes nothing toward finding an answer for IPv6 - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [4f7c15b3c5] (rid 256987) by dgp on 2026-09-24 12:30:54:
- icomment:
BTW, there is a stray "1" on line 174 of socket.test that makes no sense to me. Please confirm it should be removed.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [62561f98c0] (rid 256990) by gahr on 2026-09-24 12:44:26:
- icomment:
> BTW, there is a stray "1" on line 174 of socket.test that Yep, removed in the [bug-54d730a47d] branch.
- login: "gahr"
- mimetype: "text/plain"
- username: "gahr"
- icomment:
Ticket change [a84ff06c94] (rid 256992) by dgp on 2026-09-24 13:10:32:
- icomment:
The edits on the bug-54d730a47d branch make all tests pass for me again. I will merge them to trunk. FWIW, the localhost6 check does nothing here (error), and this system ends up using the phase4 fallback for IPv6
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [6e3c87ba5d] (rid 256994) by dgp on 2026-09-24 13:18:57:
- assignee changed to: "dgp"
- closedate changed to: "2461308.0548292822"
- closer changed to: "dgp"
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [390ccf8a37] (rid 256995) by gahr on 2026-09-24 13:20:33:
- closedate changed to: "2461308.0559488311"
- closer changed to: "gahr"
- icomment: "Out of curiosity, what system are you running on?"
- login: "gahr"
- mimetype: "text/plain"
- username: "gahr"
Ticket change [b1e4f84a0e] (rid 256998) by dkf on 2026-09-24 13:41:10:
- closedate changed to: "2461308.0702640396"
- closer changed to: "dkf"
- icomment:
That branch has `socket.test` pass for me on Windows 11 with local networking being IPv6.
- login: "dkf"
- mimetype: "text/x-markdown"
Ticket change [c5b294f829] (rid 256999) by dkf on 2026-09-24 13:42:04:
- closedate changed to: "2461308.0708890394"
- icomment:
That branch has `socket.test` pass for me on Windows 11 with local networking being IPv6.
- login: "dkf"
- mimetype: "text/x-markdown"
Ticket change [5d74844093] (rid 257008) by gahr on 2026-09-25 07:11:05:
- closedate changed to: "2461308.7993701156"
- closer changed to: "gahr"
- icomment: "Test to see if the Cloudflare WAF blocks me"
- login: "gahr"
- mimetype: "text/plain"