Skip to content
Tcl Source Code History Of Ticket 54d730a47d
Login

History Of Ticket 54d730a47d

Artifacts Associated With Ticket 54d730a47d

  1. Ticket change [622c91955e] (rid 256818) by dgp on 2026-09-22 14:47:23:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "dgp"
    14. subsystem initialized to: "27. Channel Types"
    15. title initialized to: "New failures in socket.test"
    16. type initialized to: "Bug"
  2. Ticket change [9757bda7cf] (rid 256819) by dgp on 2026-09-22 14:48:20:

    1. foundin changed to: "trunk"
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [3eb02e48f0] (rid 256820) by sebres on 2026-09-22 17:16:29:

    1. 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?
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [c66786aaa1] (rid 256971) by dgp on 2026-09-23 20:09:01:

    1. 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.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [ad39762bac] (rid 256972) by gahr on 2026-09-23 21:12:51:

    1. 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
      
      ?
      
    2. login: "gahr"
    3. mimetype: "text/plain"
    4. username: "gahr"
  6. Ticket change [ee7d0b6dfe] (rid 256986) by dgp on 2026-09-24 12:28:17:

    1. 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
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  7. Ticket change [4f7c15b3c5] (rid 256987) by dgp on 2026-09-24 12:30:54:

    1. 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.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  8. Ticket change [62561f98c0] (rid 256990) by gahr on 2026-09-24 12:44:26:

    1. icomment:
      > BTW, there is a stray "1" on line 174 of socket.test that 
      
      Yep, removed in the [bug-54d730a47d] branch.
      
    2. login: "gahr"
    3. mimetype: "text/plain"
    4. username: "gahr"
  9. Ticket change [a84ff06c94] (rid 256992) by dgp on 2026-09-24 13:10:32:

    1. 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
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  10. Ticket change [6e3c87ba5d] (rid 256994) by dgp on 2026-09-24 13:18:57:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2461308.0548292822"
    3. closer changed to: "dgp"
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  11. Ticket change [390ccf8a37] (rid 256995) by gahr on 2026-09-24 13:20:33:

    1. closedate changed to: "2461308.0559488311"
    2. closer changed to: "gahr"
    3. icomment: "Out of curiosity, what system are you running on?"
    4. login: "gahr"
    5. mimetype: "text/plain"
    6. username: "gahr"
  12. Ticket change [b1e4f84a0e] (rid 256998) by dkf on 2026-09-24 13:41:10:

    1. closedate changed to: "2461308.0702640396"
    2. closer changed to: "dkf"
    3. icomment:
      That branch has `socket.test` pass for me on Windows 11 with local networking being IPv6.
      
    4. login: "dkf"
    5. mimetype: "text/x-markdown"
  13. Ticket change [c5b294f829] (rid 256999) by dkf on 2026-09-24 13:42:04:

    1. closedate changed to: "2461308.0708890394"
    2. icomment:
      That branch has `socket.test` pass for me on Windows 11 with local networking being IPv6.
      
    3. login: "dkf"
    4. mimetype: "text/x-markdown"
  14. Ticket change [5d74844093] (rid 257008) by gahr on 2026-09-25 07:11:05:

    1. closedate changed to: "2461308.7993701156"
    2. closer changed to: "gahr"
    3. icomment: "Test to see if the Cloudflare WAF blocks me"
    4. login: "gahr"
    5. mimetype: "text/plain"