Ticket Change Details
Not logged in
Overview

Artifact ID: a69a538b6a6be4c47baa1b8eec3dc5728d075c89
Ticket: 1901276a50931802841d0d0c4d4bd9134b81ab49
http::geturl with -handler fails in 2.9.0 when retrieved data is larger than 16k ?
User & Date: anonymous 2019-08-13 10:10:54
Changes

  1. Change foundin to "vanillawish-e5dc71ed9d"
  2. Change icomment to:

    We are using the http package like follows:

    set ut [::http::geturl ${to_get} -handler _proc_data ...]

    When the data to be retrieved is less than approx. 16k in size (tested on Linux 64 Bit and Win64) the handler is called correctly, if the size is larger than 16k the handler ist called, but gets an immediate [eof] condition after the [read] on the supplied socket !! It seems someone else is reading the channel before or passes the wrong channel :-( When using the http 2.8 package, in the same environment, everything works as expected.

    Due to the large diffs between 2.8 and 2.9 we were not able to trace the issue further.

    Regards

    Benno Lange

  3. Change login to "anonymous"
  4. Change mimetype to "text/plain"
  5. Change private_contact to "a80eddc840c90a233a9c6faedc1400f2ccf1430f"
  6. Change severity to "Severe"
  7. Change status to "Open"
  8. Change title to:

    http::geturl with -handler fails in 2.9.0 when retrieved data is larger than 16k ?

  9. Change type to "Code_Defect"