Tcl Source Code

View Ticket
Login
2026-10-21
10:03 • Closed ticket [3518301fff]: Tests assume nothing is already listening on port 99... artifact: 530a2b15ac user: serhiy.storchaka
2022-09-06
09:07 • Closed ticket [2641672fff]: http1.0 failing test: httpold-4.12 plus 5 other ... artifact: 4db9cca67d user: sebres
09:06
closes [2641672fff] - resolved timing sensitivity of httpold-4.12 and speed-up all httpd depending t... check-in: aaa3de736b user: sebres tags: core-8-6-branch
2022-09-05
11:01 • Pending ticket [2641672fff]: http1.0 failing test: httpold-4.12 plus 5 other... artifact: d229a50565 user: jan.nijtmans
10:31 • Closed ticket [2641672fff]. artifact: 33d972eef0 user: sebres
10:30
closes [2641672fff], httpd - don't parse delay argument by error 400 (wrong URI/proto) closed check-in: e6634132e3 user: sebres tags: bug-2641672
2022-09-03
13:14 • Open ticket [2641672fff]: http1.0 failing test: httpold-4.12 plus 5 other ch... artifact: 8ffcb4c688 user: jan.nijtmans
2022-09-02
17:19 • Ticket [2641672fff]: 4 changes artifact: 4e4f60e652 user: sebres
17:17
amend to [2641672fff], guarantees a delay to cause a timeout definitely + switch delay-argument from... check-in: 8499001878 user: sebres tags: bug-2641672
17:06 • Ticket [2641672fff] http1.0 failing test: httpold-4.12 status still Closed w... artifact: 8e75e21385 user: sebres
17:02
really closes [2641672fff] - resolved timing sensitivity of httpold-4.12 and speed-up all httpd depe... check-in: 6ac843c97f user: sebres tags: bug-2641672
14:13 • Closed ticket [2641672fff]: http1.0 failing test: httpold-4.12 plus 7 other ... artifact: c89e95be59 user: jan.nijtmans
14:11
Mark httpold-4.12 knownBug. See [2641672]: http1.0 failing test: httpold-4.12 check-in: ffca918442 user: jan.nijtmans tags: core-8-6-branch
2022-05-31
00:15 • Ticket [2641672fff] http1.0 failing test: httpold-4.12 status still Open wit... artifact: 59664a7ece user: kjnash
2022-05-30
21:12 • Ticket [2641672fff]: 7 changes artifact: c6520053dc user: kjnash
2009-02-26
22:14 • Ticket [2641672fff]: 4 changes artifact: 54a19083f2 user: dgp
13:18 • New ticket [2641672fff]. artifact: 188b0330b0 user: matzek

Ticket UUID: 2641672
Title: http1.0 failing test: httpold-4.12
Type: Bug Created on: 2009-02-26 13:18:35
Submitter: matzek Assigned to: sebres
Subsystem: 29. http Package Severity: Minor
Priority: 5 Medium Last modified: 2022-09-06 09:07:30
Status: Closed Closed by: sebres
Resolution: Fixed Closed on: 2022-09-06 09:07:30
Version: obsolete: 8.6b1.1
Description:
Hi *,

running "configure; make; make test" on Linux with the current HEAD gives

==== httpold-4.12 httpEvent FAILED
==== Contents of test case:

    update
    set x {}
    after 500 {lappend x ok}
    set token [http_get $url -timeout 1 -command {lappend x fail}]
    vwait x
    list [http_status $token] $x

---- Result was:
ok ok
---- Result should have been (exact matching):
timeout ok
==== httpold-4.12 FAILED

on all architectures (x86, x86_64, ia64, s390x).

It does, however, not fail on AIX, HP-UX, and Solaris!

kind regards
-- Matthias Kraft
User Comments:
dgp added on 2009-02-26 22:14:37:
the test is timing sensitive,
which makes it unreliable.

kjnash added on 2022-05-30 21:12:16:
This bug and the test file httpold.test relate to the http 1.0 package which is scheduled for removal in Tcl 8.7.

jan.nijtmans added on 2022-09-02 14:13:00:

httpold-4.12 is now marked "knownBug", so no need to worry about this any more


sebres added on 2022-09-02 17:06:17:

[6ac843c97f] fixes that ultimately (and accelerates several tests depended on httpd)


jan.nijtmans added on 2022-09-03 13:14:30:

Re-opening, because [6ac843c97f] causes build-failures in github actions:

Test file error: http.test bgerror
can't read "data(query)": no such variable
can't read "data(query)": no such variable
    while executing
"regexp {(?:^|[\?&])delay=([^&]+)} $data(query) {} val"
    (procedure "httpdRead" line 19)
    invoked from within
"httpdRead sock55eac8a464c0"
http.test bgerror
can't read "data(query)": no such variable
can't read "data(query)": no such variable
    while executing
"regexp {(?:^|[\?&])delay=([^&]+)} $data(query) {} val"
    (procedure "httpdRead" line 19)
    invoked from within
"httpdRead sock55eac8a1d610"


sebres added on 2022-09-05 10:31:42:

done in [e6634132e3]


jan.nijtmans added on 2022-09-05 11:01:12:

Thanks! Let's wait for github actions, just to be sure ..... ;-)


sebres added on 2022-09-06 09:07:30:
GHA succeed