Skip to content
Tcl Source Code History Of Ticket 1020491
Login

History Of Ticket 1020491

Artifacts Associated With Ticket 1020491

  1. Ticket change [94f7267075] (rid 106087) by nobody on 2004-09-01 15:13:18:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      source:
      package require http
      
      set in [open submit.log r]
      set log [read $in]
      set submission [::http::formatQuery email 
      [email protected] userid 58276954 format DSHIELD tz -
      04:00 log $log Submit submit]
      # set token [::http::geturl 
      http://www.dshield.org/report.php -query $submission]
      # puts [::http::code $token]
      # ::http::cleanup $token
      close $in
      
      email [email protected]
      This program opens a log file and uses HTTP POST to 
      submit to a website. See an example of the log file 
      attached as bug.log. When this program is run with 1250 
      lines in the log, it takes 16 seconds (Pentium M laptop 
      1.3 GHz). If the number of lines is 2500, the program 
      takes 75 seconds to run. Somehow the processing 
      in ::http::formatQuery does not scale well. I am using 
      the ActiveState distro of TCL 8.4.7.0 with HTTP 
      package 2.5.0
      
    4. foundin initialized to: "obsolete: 8.4.7"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "None"
    10. title initialized to:
      ::http::formatQuery takes 5x longer for twice the data
      
    11. type initialized to: "Bug"
  2. Ticket change [cfd885beaf] (rid 113061) by nobody on 2004-09-01 22:13:18:

    1. icomment:
      
      
      File Added - 99982: bug.log
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  3. Add attachment "bug.log" [dd2893514a] (rid 114615) by nobody on 2004-09-01 22:13:18.

  4. Ticket change [b4e110a197] (rid 125124) by dkf on 2005-01-06 17:33:32:

    1. subsystem changed to: "29. http Package"
  5. Ticket change [85f9a5092b] (rid 131425) by dkf on 2005-01-06 18:39:03:

    1. status changed to: "Deleted"
  6. Ticket change [9fee74af3d] (rid 96724) by dkf on 2005-01-06 18:39:04:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2005-01-06T11:39:04"
    3. closer changed to: "dkf"
    4. icomment:
      Logged In: YES 
      user_id=79902
      
      This comes down to http::mapReply being horribly
      inefficient.  Recoding to use [string map] should make an
      enormous difference!
      
      Fixed in 8.4 branch and HEAD.
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. username: "dkf"