Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: abef5056ba97a307a08254ab26a98fce41f283fb
Ticket: 1329754fffffffffffffffffffffffffffffffff
sockets lose data on Windows
User & Date: davygrvy on 2005-10-19 16:44:05
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    There is an odd situation with the generic layer where if an
    amount of read() operations caused by a given [gets] call
    consumes EOF to the generic layer it ends up being the
    responsibility of the channel driver to continue firing
    readable operations on the channel until it is closed.  IMO,
    EOF had already been read into the generic layer and given
    it's knowledge of EOF, shouldn't the channel driver's job be
    done regarding notification? And shouldn't it be the generic
    layer's responsibility to fire off readable instead? 
    Honestly, this is quite inefficient when the channel driver
    will never expect anymore system notifications for that
    socket anymore and needs manufacture them just for this
    situation.
    
    I'm not sure if this relates, though.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"