Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-08-20
21:05 • Closed ticket [3541578fff]: http-3.29 fails plus 7 other changes artifact: 0cf1413fbe user: dgp
2012-08-06
20:40 • Ticket [3541578fff]: 4 changes artifact: f265bc343c user: rmax
20:31 • Ticket [3541578fff]: 4 changes artifact: a7666e280c user: twylite
19:29 • Ticket [3541578fff]: 4 changes artifact: 6ec649059e user: dgp
19:26 • Ticket [3541578fff]: 1 change artifact: 408e4162a4 user: dgp
2012-07-13
00:39 • Ticket [3541578fff]: 5 changes artifact: cf211901cb user: dgp
2012-07-09
12:01 • New ticket [3541578fff]. artifact: c7b1b7a6ed user: dgp

http-3.29 fails

Closed / Fixed3541578fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-07-09 12:01:04
==== http-3.29 http::geturl http://[::1]:8010/ FAILED
==== Contents of test case:

    set token [http::geturl $ipv6url -validate 1]
    http::code $token

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: couldn't open socket: address family not supported by protocol
    while executing
"http::geturl $ipv6url -validate 1"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== http-3.29 FAILED
dgpplain2012-07-13 00:39:21
Is this best handled with a test constraint?
dgp Ticket [3541578fff]: 1 change [History diff]2012-08-06 19:26:57
dgpplain2012-08-06 19:29:36
I see this on a CentOS 5.8 system.
twyliteplain2012-08-06 20:31:38
I'm pretty sure I see this on a Windows XP system with no IPv6 stack, but I don't have a suitable test system to confirm that at the moment.

Should be handled by an "ipv6" constraint, I think?
rmaxplain2012-08-06 20:40:59
http-3.29 is meant to test the URL parser's ability to deal with URLs that contain explicit IPv6 addresses in square brackets. That it tries to make a connection to that address is only because the package doesn't allow to test the parser independently. So, a correct solution would IMO be to make the URL parser independently testable.
dgpplain2012-08-20 21:05:42
allow_comments - 1
Log in (anonymous is fine) to add a comment.