Ticket Change Details
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA
Overview

Artifact ID: 0ad4bef0280f855f9c2e0f8d7596a6b32b5f5e00
Ticket: 1367823d51d97f90c7d72a3307b5ba7c8757b500
async tls::handshake returns 1 before handshake is complete
User & Date: anonymous on 2017-04-30 22:40:38
Changes

  1. foundin changed to: "1.7.11"
  2. icomment:
    With a TLS socket configured with -blocking 0, tls::handshake returns 1 too early during the TLS handshake, when the handshake has not actually completed.
    
    1.6.7 shows the correct behaviour (tls::handshake returns 0 if the handshake is still in progress). 1.7.11 shows the broken behavior.
    
    This breaks any code that tries to do a nonblocking handshake.
    
    Testcase: https://gist.github.com/mutability/8cc5e34aa57e262c23bc816a76a068ed
    
  3. login: "anonymous"
  4. mimetype: "text/x-fossil-plain"
  5. private_contact changed to: "e8bc0dec6b52cc143e0193dbb66c7aa5d2de5815"
  6. severity changed to: "Severe"
  7. status changed to: "Open"
  8. title changed to:
    async tls::handshake returns 1 before handshake is complete
    
  9. type changed to: "Code Defect"