Overview
| Artifact ID: | c05d1ffe71228d853168661265f3f8f7e1e38594 |
|---|---|
| Ticket: | 477198ffffffffffffffffffffffffffffffffff
::http::geturl leaks memory on Win32 |
| User & Date: | nobody on 2001-11-02 00:00:47 |
Changes
- icomment:
Logged In: NO Seems like the file upload didn't take. Since the example is fairly short, I'm attaching it here. Commenting out the geturl call results in no memory being leaked. package require http ::http::config -useragent "Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.5) Gecko/20011011" set url "http://www.usps.gov/cgi-bin/zip4/ctystzip2" set zip 1000 while { $zip < 100000 } { set zipcode $zip if { [string length $zipcode] < 5 } { set zipcode "0$zipcode" } puts "$zipcode" set query [::http::formatQuery ctystzip $zipcode] set http [::http::geturl $url -query $query] incr zip } - login: "nobody"
- mimetype: "text/plain"
- username: "nobody"