Skip to content
Tcl Source Code History Of Ticket f1393ca08145b870
Login

History Of Ticket f1393ca08145b870

Artifacts Associated With Ticket f1393ca08145b870

  1. Ticket change [8380dfd640] (rid 174005) by kvetter on 2019-08-06 18:50:23:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      
      If you do "curl 'https://nationalmap.gov/epqs/pqs.php?x=-82.52016666666667&y=40.06791666666667&units=Feet&output=xml'" it returns right away.
      
      If in tclsh you do: 
      package require http
      package require tls
      http::register https 443 [list ::tls::socket -tls1 1]
      
      set url https://nationalmap.gov/epqs/pqs.php?x=-82.52016666666667&y=40.06791666666667&units=Feet&output=xml
      time {set token [::http::geturl $url]}
      
      it takes 75 seconds -- and with the correct result
      
      parray tcl_platform
      tcl_platform(byteOrder)     = littleEndian
      tcl_platform(engine)        = Tcl
      tcl_platform(machine)       = x86_64
      tcl_platform(os)            = Darwin
      tcl_platform(osVersion)     = 18.6.0
      tcl_platform(pathSeparator) = :
      tcl_platform(platform)      = unix
      tcl_platform(pointerSize)   = 8
      tcl_platform(threaded)      = 1
      tcl_platform(user)          = kvetter
      tcl_platform(wordSize)      = 8
      
    5. foundin initialized to: "8.6.9"
    6. is_private initialized to: "0"
    7. login: "kvetter"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "13916f43690f8b7e1ae980e7733dd10617c2fc32"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "kvetter"
    14. subsystem initialized to: "29. http Package"
    15. title initialized to: "https get to USGS server takes 75 seconds"
    16. type initialized to: "Bug"
  2. Ticket change [722f629986] (rid 185190) by kjnash on 2020-07-24 07:15:54:

    1. comment changed to:
      If you do "curl 'https://nationalmap.gov/epqs/pqs.php?x=-82.52016666666667&y=40.06791666666667&units=Feet&output=xml'" it returns right away.
      
      If in tclsh you do: 
      package require http
      package require tls
      http::register https 443 [list ::tls::socket -tls1 1]
      
      set url https://nationalmap.gov/epqs/pqs.php?x=-82.52016666666667&y=40.06791666666667&units=Feet&output=xml
      time {set token [::http::geturl $url]}
      
      it takes 75 seconds -- and with the correct result
      
      parray tcl_platform
      tcl_platform(byteOrder)     = littleEndian
      tcl_platform(engine)        = Tcl
      tcl_platform(machine)       = x86_64
      tcl_platform(os)            = Darwin
      tcl_platform(osVersion)     = 18.6.0
      tcl_platform(pathSeparator) = :
      tcl_platform(platform)      = unix
      tcl_platform(pointerSize)   = 8
      tcl_platform(threaded)      = 1
      tcl_platform(user)          = kvetter
      tcl_platform(wordSize)      = 8
      
    2. icomment:
      Is this still a problem?  On my system the timing was similar in Curl and Tcl.
      
      I am using http 2.9.1 and Tcl 8.7a4 (similar results for 8.6.10), tls 1.7.21, and libressl 3.1.3 on Linux x86_64.
      
      898666 microseconds per iteration
      
      
      $ time curl 'https://nationalmap.gov/epqs/pqs.php?x=-82.52016666666667&y=40.06791666666667&units=Feet&output=xml'
      <?xml version="1.0" encoding="utf-8" ?><USGS_Elevation_Point_Query_Service><Elevation_Query x="-82.52016666666667" y="40.06791666666667"><Data_Source>3DEP 1/3 arc-second</Data_Source><Elevation>958.1</Elevation><Units>Feet</Units></Elevation_Query></USGS_Elevation_Point_Query_Service>
      real    0m0.927s
      user    0m0.023s
      sys     0m0.010s
      
    3. login: "kjnash"
    4. mimetype: "text/plain"
  3. Ticket change [0699db3ef5] (rid 190579) by kjnash on 2020-12-31 15:13:15:

    1. closedate changed to: "2459215.13420699"
    2. closer changed to: "kjnash"
    3. icomment:
      This was likely a problem with an old version of OpenSSL.
      
    4. login: "kjnash"
    5. mimetype: "text/plain"
    6. resolution changed to: "Works For Me"
    7. status changed to: "Closed"