Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9f480202f731ba37112d159eedd999352f5a10bd67b015cb764818dd7efb86de
Ticket: b6d0d8cc2c82dbb366d1fb3f32afd2a027a41135
(windows) socket close: graceful shutdown vs. lingering (eternal TIME_WAIT issue).
User & Date: sebres on 2020-04-27 10:51:35
Changes

  1. icomment:
    I think, I fixed it in [b960d1b71e] as good as possible:
    
    on close it would firstly try a graceful disconnect and don't linger if in success case (as well as would perform a hard reset in case if socket get closed without data sent/received).
    
    Test script is attached...<br/>
    I don't see growing sockets in TIME-WAIT state anymore (regardless how it is closed on server side).
    
    Tests (socket.test and *-io.test) passed too.
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"
  4. resolution changed to: "Fixed"
  5. status changed to: "Pending"