Skip to content
Tcl Source Code Artifact [ff452c18e6]
Login

Artifact [ff452c18e6]

Artifact ff452c18e694dbcac2bdde28a946dab6d903e9b8a6efcb274b582973068ca4c6:

Ticket change [ff452c18e6] - New ticket [fe57ad096d97623e|fe57ad096d] <i>Fix test http-4.14 for tcl-8.6.11rc0</i>. by kjnash on 2020-12-14 02:07:56.
D 2020-12-14T02:07:56.515
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Test\shttp-4.14\sfails\sfor\stcl-8.6.11rc0,\sand\salso\sfor\stcl-8.6.10.\r\n\r\nThe\sproblem\sis\sthe\stest's\suse\sof\s[info\shostname]\sas\sthe\shost\sname.\s\sThe\ssystem\sinterprets\sthis\scorrectly\swhen\sconnecting\sto\sa\sport\sthat\shas\sa\slistening\ssocket.\s\sWhen\sattempting\sto\sconnect\sto\sa\snon-existent\slistener,\sthe\ssystem\sreports\s[info\shostname]\sas\san\s"invalid\sargument"\s(perhaps\sbecause\sit\shas\sattempted\sand\sfailed\sDNS\slookup?).\r\n\r\nUsing\s[socket]\swithout\sthe\s-async\soption,\sthe\sproblem\scan\sbe\sseen\sat\sthe\scommand\sline:\r\n\r\n%\ssocket\s127.0.0.1\s45678\r\ncouldn't\sopen\ssocket:\sconnection\srefused\r\n\r\n%\ssocket\slocalhost\s45678\r\ncouldn't\sopen\ssocket:\sconnection\srefused\r\n\r\n%\ssocket\s[info\shostname]\s45678\r\ncouldn't\sopen\ssocket:\sinvalid\sargument\r\n\r\n%\ssocket\s[info\shostname]\s22\s;#\sworks\swith\sa\svalid\slistening\sport\r\nsock2781730\r\n\r\n%\sinfo\shostname\r\nargent.home\r\n\r\nFile\stests/http.test\snotes\searlier\sproblems\swith\sname\sresolution\son\sOSX.\s\sName\sresolution\sis\snot\sthe\sfocus\sof\sthe\shttp\spackage\sor\sits\stests;\sso\sI\ssuggest\sadopting\sthe\ssame\ssolution\sas\sfor\sOSX\sand\ssetting\sthe\shost\sname\sto\s"localhost"\srather\sthan\s[info\shostname].\r\n\r\nBecause\sthe\shttpd\ssimple\sserver\sclobbers\sthe\svalue\sof\sHOST\sthe\schange\sis\smode\sin\sthree\sfiles:\r\n*\stests/http.test\r\n*\stests/httpold.test\r\n*\stests/httpd
J foundin 8.6.11rc0
J is_private 0
J login kjnash
J priority 5\sMedium
J private_contact a774b1f5653dc3360e29ea7d635a64e94c9f1dab
J resolution None
J severity Minor
J status Open
J submitter kjnash
J subsystem 29.\shttp\sPackage
J title Fix\stest\shttp-4.14\sfor\stcl-8.6.11rc0
J type Patch
K fe57ad096d97623e220326c13ed9424406f4c8f3
U kjnash
Z 5ffe656cafb55694f83a9e3e23817d61