Artifacts Associated With Ticket 3f6bb3bb46f4c284
Ticket change [9d1bf07f8d] (rid 206870) by jan.nijtmans on 2022-11-15 15:02:12:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
Allthough the http package version 2.10a4 advertises to work with Tcl 8.6 (package require Tcl 8.6-), it doesn't work. Testcases in http11.test hang. The http package should either do a "package require Tcl 8.7-" or it should be fixed to run fine with Tcl 8.6 too. Otherwise, when someone installs both Tcl 8.6 and 8.7, the http package will be broken with Tcl 8.6.
- foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "jan.nijtmans"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "jan.nijtmans"
- subsystem initialized to: "29. http Package"
- title initialized to: "Http 2.10a4 doesn't work with Tcl 8.6"
- type initialized to: "Bug"
Ticket change [aa1d96c8bb] (rid 206871) by jan.nijtmans on 2022-11-15 15:03:07:
- icomment:
The hang happens on all platforms. See: [https://github.com/tcltk/tcl/actions/runs/3459694409]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [d358a44782] (rid 206879) by kjnash on 2022-11-15 21:24:43:
- icomment:
Commit [2bac0bed17] fixes the issues with http11.test. The simple httpd used for testing silently fails because it has "package require tcl" not "package require Tcl".
- login: "kjnash"
- mimetype: "text/x-fossil-plain"
- icomment:
Ticket change [228caf33c9] (rid 206880) by kjnash on 2022-11-15 21:25:26:
- foundin changed to: "8.6"
- login: "kjnash"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [846a49372a] (rid 206881) by kjnash on 2022-11-15 21:39:22:
- icomment:
I had a go at the backport recently, but I did not upload the code to fossil because I had not yet tested it on Windows. My procedure was: 1. Start with 8.6.13rc0 2. Copy these files from 8.7: library/http/http.tcl library/http/pkgIndex.tcl library/cookiejar/cookiejar.tcl library/cookiejar/idna.tcl library/cookiejar/pkgIndex.tcl library/cookiejar/public_suffix_list.dat.gz doc/http.n doc/cookiejar.n doc/idna.n tests/http11.test tests/httpcookie.test tests/httpd tests/httpd11.tcl tests/httpPipeline.test tests/httpProxySquidConfigForEL8.tar.gz tests/httpProxy.test tests/http.test tests/httpTestScript.tcl tests/httpTest.tcl 3. Apply the patch supplied below as a file. This applies the "package require Tcl" fix mentioned below and adds a lpop command to tests/httpd11.tcl so that the tests themselves are unchanged. It also patches the makefile.*. The makefile patches for Windows are untested.
- login: "kjnash"
- mimetype: "text/x-fossil-plain"
- icomment:
Add attachment "tcl8.6.13.patch" [579045f4b2] (rid 206883) by kjnash on 2022-11-15 21:41:47.
Ticket change [3380cbe621] (rid 206884) by jan.nijtmans on 2022-11-15 21:54:37:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459899.41293912"
- closer changed to: "jan.nijtmans"
- icomment:
Thanks! So, it was a problem in the testcase, not in the http code itself. Good to know! Please don't backport it to 8.6 yet, it's better to leave it in Tcl 8.7 first until 8.7 reaches the stable version. Anyway, since the problem is solved, closing!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"
Ticket change [1f8da60b0b] (rid 206887) by kjnash on 2022-11-15 23:27:10:
- closedate changed to: "2459899.47720219"
- closer changed to: "kjnash"
- icomment:
Yes, agreed, I would have worked in a separate branch but you've done it first. I hope that when Tcl 8.7 is released, Tcl 8.6 will adopt http 2.10 and anything else that can easily be backported, but those decisions will be for the Core Team!
- login: "kjnash"
- mimetype: "text/plain"