Artifacts Associated With Ticket c31ca233ca
Ticket change [b2d61c1e7a] (rid 138554) by dgp on 2014-06-30 18:22:24:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Starting with checkin 2a40293a49 on the Tcl trunk, the test in the tls extension, tlsIO-2.11 fails: ---- Result was: a:one b: c: ---- Result should have been (exact matching): a:one b: c:two ==== tlsIO-2.11 FAILED
- foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "25. Channel System"
- title initialized to: "tlsIO-2.11 failure"
- type initialized to: "Bug"
Ticket change [ba38de48e8] (rid 138555) by dgp on 2014-06-30 18:22:46:
- assignee changed to: "dgp"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [39828be50f] (rid 138556) by dgp on 2014-06-30 19:03:00:
- icomment:
bisecting onto dgp-trunk-flag-repair branch shows the trouble arising in checkin 960f628ee8
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [b0aa5f7cba] (rid 138557) by dgp on 2014-06-30 19:53:13:
- icomment:
Same checkins also introduce errors and failures in tlsIO-2.10.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [d2f240d0c0] (rid 138558) by dgp on 2014-06-30 19:58:51:
- icomment:
Sorry, no. The tlsIO-2.10 failures start with checkin 98763462fb
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Add attachment "tls.patch" [d3347af523] (rid 138560) by dgp on 2014-06-30 20:25:22.
Ticket change [326170c48f] (rid 138561) by dgp on 2014-06-30 20:26:31:
- icomment:
Attached patch for tls, which was developed for other reasons, cleans up tls management of chan events. Attached here because applying it stops the failures of tlsIO-2.10.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [df2fbf1472] (rid 138562) by dgp on 2014-07-02 15:16:50:
- icomment:
The failure of tclIO-2.11 is a core bug. I have a fix, and will commit when I have a test in the core test suite.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [d97aef1e48] (rid 138569) by dgp on 2014-07-02 16:31:02:
- icomment:
tlsIO-2.11 failure fixed in Tcl 8.5 and trunk branches.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Add attachment "eof.patch" [1ca87e561f] (rid 138571) by dgp on 2014-07-02 19:57:02.
Ticket change [16aa649661] (rid 138572) by dgp on 2014-07-02 20:07:07:
- icomment:
New attachment, eof.patch, is another way to fix the failing test tlsIO-2.10. I believe the best thing is to apply both patches to tls. After these patches, tls should continue to operate successfully everywhere it always has, and in addition function correctly with the current Tcl trunk. What's happening is that during the handshake processing, an EOF happens on the low-level encrypted socket. Until recently, Tcl's I/O core has been allowing EOF status flags to leak between levels in a channel stack. In this case, the bug was an advantage to tls because it caused the tls::socket to apparently also present an EOF state, and this causes [gets] to complete successfully returning an empty string. Now that the core bugs are fixed, the EOF doesn't bubble up, and so the failed handshake gets noticed and reported as an error. The failing [gets] causes the test to fail. The eof.patch adds a tiny bit of code to explicitly notice the low-level EOF and explicitly raise it again at the higher level. An additional change that might be worthwhile is to [catch] the [gets] in the test. The purpose of the test is to verify that [readit] is called at all, not whether [gets] succeeds.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [f1ac4dd07a] (rid 141720) by dgp on 2015-05-11 17:55:18:
- closedate changed to: "2457154.24674402"
- closer changed to: "dgp"
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"