Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8577144125e33f7c62b9491bef065517322f2321
Ticket: 1945538fffffffffffffffffffffffffffffffff
Stalling async reads with package TLS
User & Date: eriklns on 2008-05-13 04:29:03
Changes

  1. icomment:
    Logged In: YES 
    user_id=113903
    Originator: YES
    
    Responding to Kevin Kenny's request for a test against Tcl 8.5:
    See below for the output of a run of strace.tcl (as it was already included in the previously uploaded .tar.gz).
    
    Conclusion: both issues occur likewise with Tcl 8.5.2 (under Linux).
    
    $ tclsh8.5
    % source strace.tcl
    CLIENT: 12300
    SERVER: 12301
    Process 12301 attached - interrupt to quit
    Process 12300 attached - interrupt to quit
    # REPORT
    #
    # Client choked on the gif data (total size = 61403 bytes).
    # Bytes left in the channel: 4059
    # Log details:
    #    sock = sock3
    #    totalRecv = 57344
    #    emptyReads = 2
    #    recvs = 0 0 8192 8192 8192 8192 8192 8192 8192
    #
    # Ways to get the remaining bytes from the socket:
    # 1. close the socket at the server side (or kill the server)
    # 2. do an extra [read sock3] regardless the absence of a readable event
    #
    # Invoking method 2 yielded 4059 extra bytes
    # The complete gif data have been read, you may repeat [getgif] safely.
    # REPORT
    #
    # Client choked on the gif data (total size = 61403 bytes).
    # Bytes left in the channel: 4059
    # Log details:
    #    sock = sock3
    #    totalRecv = 57344
    #    emptyReads = 0
    #    recvs = 8192 8192 8192 8192 8192 8192 8192
    #
    # Ways to get the remaining bytes from the socket:
    # 1. close the socket at the server side (or kill the server)
    # 2. do an extra [read sock3] regardless the absence of a readable event
    #
    # Invoking method 2 yielded 4059 extra bytes
    # The complete gif data have been read, you may repeat [getgif] safely.
    Process 12301 detached
    Process 12300 detached
    DONE
    % info patch
    8.5.2
    % parray tcl_platform
    tcl_platform(byteOrder)   = littleEndian
    tcl_platform(machine)     = i686
    tcl_platform(os)          = Linux
    tcl_platform(osVersion)   = 2.6.18.8-0.9-default
    tcl_platform(platform)    = unix
    tcl_platform(pointerSize) = 4
    tcl_platform(user)        = erik
    tcl_platform(wordSize)    = 4
    
    -- end of message
    
    
    
  2. login: "eriklns"
  3. mimetype: "text/plain"
  4. username: "eriklns"