Skip to content
Tcl Source Code History Of Ticket 218459ffffffffff
Login

History Of Ticket 218459ffffffffff

Artifacts Associated With Ticket 218459ffffffffff

  1. Ticket change [54bec570a6] (rid 93999) by nobody on 2000-10-26 01:00:38:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 611 Bug
      Version: 8.0p2
      SubmitDate: '1998-05-21'
      LastModified: '1998-06-04'
      Severity: MED
      Status: Released
      Submitter: stanton
      ChangedBy: stanton
      OS: All Windows
      OSVersion: NA
      Machine: NA
      FixedDate: '2000-10-25'
      FixedInVersion: 8.0.3
      ClosedDate: '1998-06-04'
      
      
      In a conversation with Bob Lamoureux of Bridge Information Systems
      yesterday, he reported the following bug:
      
      In the Tcl socket code for Windows, there is apparently a call to
      ioctl(FIONREAD) to "peek" on the socket to see how many bytes are
      ready.  The Microsoft code that implements this function doesn't
      properly handle the case where the ready data spans more than one
      buffer.  Apparently, it works by reading all of the available input
      data, counting the bytes, then pushing all of the data back into
      the buffers.  However, it apparently isn't possible to push back more
      than one bufferfull of data, so any data beyond the first buffer is
      lost.  After the ioctl call Tcl tries to read the data, which hangs
      since there isn't enough data there anymore.  It sounds like this
      may even hang the system (it hangs low enough in the kernel to make
      it hard to interrupt).  Bob tracked it down with the help of
      Microsoft engineers, who then said it was a known problem and it's
      our fault for trying to port Unix code to Windows (sheesh).
      
      Anyhow, the solution is probably to change the socket code to spin a
      thread like pipes and serial lines, so that it isn't necessary to
      "peek" on the socket.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.0p2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "63. (unused)"
    10. title initialized to: "Bug in Windows sockets"
    11. type initialized to: "Bug"
  2. Ticket change [42ac53b55a] (rid 116424) by welch on 2000-10-26 08:22:17:

    1. closedate changed to: "2000-10-26T01:22:17"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [639fc17e80] (rid 92614) by dgp on 2001-04-01 01:47:54:

    1. closedate changed to: "2001-03-31T18:47:54"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"