Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a07f327187782730c9f284d07942f84acdb6c8f852b536d2f287d1ec5db7e2fd
Ticket: 05b158ed56d9e68249ce6f22fe49f3133c5b98ba
http::geturl -keepalive intermittent socketWrState errors
User & Date: serhiy.storchaka on 2026-10-16 21:36:11
Changes

  1. foundin changed to: "9.0.5, 9.1.0"
  2. icomment:
    Reproduced on 9.0 and main with a local server that closes idle keep-alive connections: http::CheckEof closes the idle socket after geturl has chosen to reuse it but before http::OpenSocket runs, so the reuse path reads the removed socketWrState element.
    Proposed fix in branch [/timeline?r=http-keepalive-reuse-closed|http-keepalive-reuse-closed]: OpenSocket opens a new connection in that case. Test http-4.19. It also fixes [3764f4e81f].
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"