Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 534616e2184a9d82bdfe787c0ff01f483d82b8d38750ce20875ee8b0d9eeff56
Ticket: 91862964369476acbb7b85f471c01071f9af9acc
http::geturl with -handler fails in 2.9.0 when retrieved data is larger than 16k ?
User & Date: blange on 2019-08-13 10:17:13
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    We are using the http package as 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
    
  5. foundin changed to: "tcl 8.6.9 / http 2.9.0"
  6. is_private changed to: "0"
  7. login: "blange"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "a80eddc840c90a233a9c6faedc1400f2ccf1430f"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "blange"
  14. subsystem changed to: "29. http Package"
  15. title changed to:
    http::geturl with -handler fails in 2.9.0 when retrieved data is larger than 16k ?
    
  16. type changed to: "Bug"