Skip to content
Tcl Source Code Check-in [aadf3c36fe]
Login

Check-in [aadf3c36fe]

Overview
Comment: * library/http2.1/http.tcl: Added -querychannel option and altered some of Brent's modifications to allow asynchronous posts (via -command). Also modified -queryprogress so that it calls the query callback as <callback> <token> <total size> <current size> to be consistent with -progress. Added -queryblocksize option with default 8192 bytes for post blocksize. Fixed a bunch of potential memory leaks for the case when geturl receives bad args or can't open a socket, etc. Overall, the package really rocks now. * doc/http.n: Added -queryblocksize, -querychannel, and -queryprogress. Also, changed the description of -blocksize, which states that the -progress callback will be called for each block, to now qualify that with an "if -progress is specified". * tests/http.test: Added a querychannel test for synchronous and asynchronous posts, altered the queryprogress test such that the callback conforms to the -progress format. Also, had to use the -queryblocksize option to do the post 16K at a time to match Brent's expected results (and to test that -queryblocksize works).
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: aadf3c36fecf2456f03b8f5d9fbea4ca969ad267
User & Date: sandeep on 2000-03-19 22:32:25.000
Other Links: manifest | tags
Context
2000-03-19
23:45
2000-03-19 Sandeep Tamhankar <[email protected]> * library/http2.1/http.tcl: geturl used to t... check-in: f3a17a1b81 user: sandeep tags: trunk, scriptics-sc-2-0-b1
22:32
* library/http2.1/http.tcl: Added -querychannel option and altered some of Brent's modifications t... check-in: aadf3c36fe user: sandeep tags: trunk
2000-03-18
02:16
updated package index file to use version 2.3 instead of 2.2. check-in: adccf407b1 user: hershey tags: trunk
Changes