Tcl Library Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

12 check-ins related to "aku-the-big-httpd-testsuite-cleanup"

2019-06-05
05:02
Integrated testsuite fixups Merged latest work from trunk Regenerated documentation. - Fixed outdated references to feedback.inc Use `modules/common-text/feedback.inc` now. check-in: e3ae2af3f4 user: aku tags: hypnotoad
2019-06-04
20:08
Added demonstrations of passing configuration parameters and seeing the data reflected in behavior in httpd Closed-Leaf check-in: 367088a3b3 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
19:50
Removing hardcoded path, and registering the paths in the appropriate manner in the httpd tests check-in: 357caec02f user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
19:38
Adding a DOCUMENT_ROOT to the server headers for scgi servers check-in: a4f6ae73f9 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
19:08
Fix for scgi-client-0006 in httpd check-in: 5f4063d387 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
17:58
Replace live calls to clock seconds with one single call and a global value used by all tests check-in: fb394194c3 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
17:29
Added refcounting safeguards arround common areas where reply objects are waiting and polling. Added a test to ensure that all objects that were supposed to be garbage collected ARE garbage collected after ::clay::cleanup check-in: c3921f3366 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
17:09
Finally fixed httpd module's scgi-client-0006 test check-in: 839939e944 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
16:37
Added refcounting to clay objects, and replaced the hard-cast clay::destroy calls with invocations of the object's clay refcount_decr method. Tweaks to the httpd test to try to sort out why scgi-client-0006 is still failing check-in: f5ae509e59 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
13:43
Added a new channel registration system for httpd replies, instead of forcing developers to manually clean up channels via the old TransferComplete mechanism. Rather than hard-calling destructors for httpd reply objects (and their proxies) added a soft-kill mechanism developed for cuneiform to the httpd module. A new command "clay::destroy" marks and object for death, to be cleaned up at the next call for clay::cleanup. The cleanup is invoked at points in the idle loop where the object is expected to be long done with its toys. When an object wants to deliver its contents now, it can invoke the "close" method. Close will now close ALL channels registered with ChannelRegister, not just the channel in the "chan" variable. Fixes the crashes in scgi test 0006, but now the content is still coming out "wrong" check-in: fb7ab80b6b user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
07:34
Starting to investigate the issue with `scgi-client-0006` I was unable to help myself and started a cleanup of the tests first. - Fixed up indentation all over the place. - Moved all the various expected replies (404, 200, 500) into constructor procedures. This not only made the individual tests clearer, but also easier to properly indent. - Removed the custom `httpd::test::compare` (HTC). Switched to regular tcltest glob matching, plus string map for basic templating of some expected results (200... variants). - The thing with the `norm-eol` I had to add (*) makes me suspect that HTC hid a possible bug in the proxy coding around the handling of line endings. (Of course, my norm-eol now works around the same thing, if in a different manner). (Ad *) See marker `AKU` in the code. - Moved the cgi helper application into an `assets` directory. No need for dynamic creation and deletion. Just tweak the `path` it is looked for. With all this I can now easy see that `scgi-client-0006` returns a 500 server error to us, instead of the expected file. check-in: 91d4900a3d user: aku tags: aku-the-big-httpd-testsuite-cleanup
2019-06-03
23:44
Update to clay, practcl, and httpd brought over from the clay project. clay - fixes a typo in the ensemble generator - Removed a call to cron::object_destroy (we don't always run with cron) - Added a tool-like event manager - Removed where the amalgamater was adding dictargs twice - Added a "short" uuid for local projects httpd - updates to clay - Test fixes - Remove CSS templating from the vanilla httpd - Some behind the scenes tweaks to accomodate the cuneiform module when httpd is used in external packages practcl - updates to clay - Static packages are now advertised in the tclpreinitscript, eliminating the need for the master process to throw a bootstrap to new threads check-in: 6ae00eec07 user: hypnotoad tags: hypnotoad