Skip to content
Tcl Source Code History Of Ticket c31ca233ca
Login

History Of Ticket c31ca233ca

Artifacts Associated With Ticket c31ca233ca

  1. Ticket change [b2d61c1e7a] (rid 138554) by dgp on 2014-06-30 18:22:24:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Severe"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "25. Channel System"
    14. title initialized to: "tlsIO-2.11 failure"
    15. type initialized to: "Bug"
  2. Ticket change [ba38de48e8] (rid 138555) by dgp on 2014-06-30 18:22:46:

    1. assignee changed to: "dgp"
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [39828be50f] (rid 138556) by dgp on 2014-06-30 19:03:00:

    1. icomment:
      bisecting onto dgp-trunk-flag-repair branch
      shows the trouble arising in checkin 960f628ee8
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [b0aa5f7cba] (rid 138557) by dgp on 2014-06-30 19:53:13:

    1. icomment:
      Same checkins also introduce errors and 
      failures in tlsIO-2.10.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [d2f240d0c0] (rid 138558) by dgp on 2014-06-30 19:58:51:

    1. icomment:
      Sorry, no.  The tlsIO-2.10 failures start
      with checkin 98763462fb
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  6. Add attachment "tls.patch" [d3347af523] (rid 138560) by dgp on 2014-06-30 20:25:22.

  7. Ticket change [326170c48f] (rid 138561) by dgp on 2014-06-30 20:26:31:

    1. 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.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  8. Ticket change [df2fbf1472] (rid 138562) by dgp on 2014-07-02 15:16:50:

    1. 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.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  9. Ticket change [d97aef1e48] (rid 138569) by dgp on 2014-07-02 16:31:02:

    1. icomment:
      tlsIO-2.11 failure fixed in Tcl 8.5 and trunk branches.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  10. Add attachment "eof.patch" [1ca87e561f] (rid 138571) by dgp on 2014-07-02 19:57:02.

  11. Ticket change [16aa649661] (rid 138572) by dgp on 2014-07-02 20:07:07:

    1. 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.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  12. Ticket change [f1ac4dd07a] (rid 141720) by dgp on 2015-05-11 17:55:18:

    1. closedate changed to: "2457154.24674402"
    2. closer changed to: "dgp"
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. resolution changed to: "Out of Date"
    6. status changed to: "Closed"