Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: fdba6cdf283d7e1d7c86008a1ce9f2c8dffd1ac4
Ticket: 6ca52aec14e0b33543d3cd9895f060b852ac4dbc
HTTP package: Memory leak if client requests "Connection: close" but server responses with "Connection: keep-alive"
User & Date: aspect 2017-05-19 15:10:11
Changes

  1. closedate changed to: "2457893.13208098"
  2. closer changed to: "aspect"
  3. icomment:
    Emiliano reported in the chat a test failure on netbsd of http-4.16 (introduced by [8d81ec63d5d] but incorrectly called http-1.15).
    
    I can't see how it's failing, but in any case the test doesn't do what it says on the tin:  -headers {X-Connection keep-alive}  just gets echoed back by tests/httpd (with "X-" intact), and in any case it closes the socket immediately.
    
    Test httpd-4.16 is useless, and I suggest simply removing it - the alternative is to rework tests/httpd to support keepalive, which is both more effort and liable to cause more rework.
    
  4. login: "aspect"
  5. mimetype: "text/plain"