Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c9a991ec2ecc22c1359ff725242e8f373b3bf151a73a5dc5c0d80dffd3832fa0
Ticket: 080f846fd58958efeaa5e2247622dc0ee7fa1ff7
Channel system generating writable events BEFORE channel is open (refchan)
User & Date: pooryorick on 2024-04-04 11:57:27
Changes

  1. icomment:
    In [70a407c2453e5aa3] I've made a small change that may at least keep
    the timer from being scheduled before the initial connection is
    complete:  When updating the interest of the channel, if a buffer
    doesn't exist, or if the buffer hasn't been written to, or if the buffer
    is overflowing, then there is no reason to schedule the timer.  In the
    case that a connection is being established asynchronously, but is not
    yet connected, the buffer won't exist, so the timer won't be scheduled.
    
    This fix may be sufficient to avoid setting the handler timer in all
    cases where a signal from the underlying resource can't be expected.
    
  2. login: "pooryorick"
  3. mimetype: "text/x-fossil-wiki"