Overview
Comment: | Pickup the common HTTP package updates from upstream. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
207ca58f6fed88302afa7e4f29659f20 |
User & Date: | mistachkin on 2022-10-16 02:20:31 |
Other Links: | manifest | tags |
Context
2022-10-16
| ||
02:38 | Pickup the common HTTP package updates from upstream again. check-in: 8121dfaed6 user: mistachkin tags: trunk | |
02:20 | Pickup the common HTTP package updates from upstream. check-in: 207ca58f6f user: mistachkin tags: trunk | |
2022-10-13
| ||
02:29 | Ok, fix another typo that shows up in the docs. check-in: 68ac1cea9a user: mistachkin tags: trunk | |
Changes
Modified client/1.0/neutral/common.tcl from [4a9eb76edf] to [e7d2163051].
︙ | ︙ | |||
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | catch { tclLog [appendArgs \ [pid] " : " [clock seconds] " : http : " $string] } } } # # NOTE: This procedure was stolen from the "common.tcl" script. It is # designed to emit a progress indicator while an HTTP request is # being processed. The channel argument is the Tcl channel where # the progress indicator should be emitted. The type argument is # the single-character progress indicator. The milliseconds # argument is the number of milliseconds to wait until the next # periodic progress indicator should be emitted. This procedure # reschedules its own execution. # proc pageProgress { channel type milliseconds } { | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > < < < < < < | > > > > < | < < < | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | catch { tclLog [appendArgs \ [pid] " : " [clock seconds] " : http : " $string] } } } # # NOTE: This procedure was stolen from the "common.tcl" script. It is # designed to setup the pending progress indicator callback and # save its working state. # proc setupPageProgress { channel type milliseconds } { # # NOTE: This variable is used to keep track of the currently scheduled # (i.e. pending) [after] event. # variable afterForPageProgress # # NOTE: Scheduled the necessary [after] event, using the [pageProgress] # procedure, which is defined further down in this file. # set afterForPageProgress [after $milliseconds [namespace code \ [list pageProgress $channel $type $milliseconds]]] } # # NOTE: This procedure was stolen from the "common.tcl" script. It is # designed to cancel the pending progress indicator callback and # cleanup its working state. # proc cancelPageProgress {} { # # NOTE: This variable is used to keep track of the currently scheduled # (i.e. pending) [after] event. # variable afterForPageProgress # # NOTE: If there is a currently scheduled [after] event, cancel it. # if {[info exists afterForPageProgress]} then { catch {after cancel $afterForPageProgress} unset -nocomplain afterForPageProgress } } # # NOTE: This procedure was stolen from the "common.tcl" script. It is # designed to emit a progress indicator while an HTTP request is # being processed. The channel argument is the Tcl channel where # the progress indicator should be emitted. The type argument is # the single-character progress indicator. The milliseconds # argument is the number of milliseconds to wait until the next # periodic progress indicator should be emitted. This procedure # reschedules its own execution. # proc pageProgress { channel type milliseconds } { # # NOTE: Show that something is happening... # pageOut $channel $type # # NOTE: Make sure that we are scheduled to run again, if requested; # also, before doing that, make sure there is not already an # associated [after] event pending. # cancelPageProgress if {$milliseconds > 0} then { setupPageProgress $channel $type $milliseconds } } # # NOTE: This procedure was stolen from the "common.tcl" script. It is # designed to process a single HTTP request, including any HTTP # 3XX redirects (up to the specified limit), and return the raw |
︙ | ︙ | |||
268 269 270 271 272 273 274 | # # NOTE: This variable is used to determine if plain HTTP is allowed if # an HTTP redirect response contains an HTTP URI and the original # URI was HTTPS. # variable allowInsecureRedirect | < < < < < < | 303 304 305 306 307 308 309 310 311 312 313 314 315 316 | # # NOTE: This variable is used to determine if plain HTTP is allowed if # an HTTP redirect response contains an HTTP URI and the original # URI was HTTPS. # variable allowInsecureRedirect # # NOTE: This variable is used to determine the timeout milliseconds for # HTTP requests. # variable timeoutGetUrl # |
︙ | ︙ | |||
560 561 562 563 564 565 566 | } } } # # NOTE: If there is a currently scheduled [after] event, cancel it. # | < < | < | 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 | } } } # # NOTE: If there is a currently scheduled [after] event, cancel it. # cancelPageProgress # # NOTE: If progress messages were emitted, start a fresh line. # if {!$quiet} then { pageOut $channel [appendArgs " " $uri \n] } |
︙ | ︙ |
Modified client/1.0/neutral/common.tcl.asc from [652f221118] to [b10fc742d1].
1 2 3 4 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository | | | | | | | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository iQIcBAABCAAGBQJjS2ocAAoJEFAslq9JXcLZ7CEQALSp5UqGJZRxri01Wcka/OeS 6cgvSyQpaJGQxgLQB8v/5D+Vo7SiCW056TGGIdTAifjnfaMauGzUDpCaD59uNhHD VF2Yc31ZWg4j9PR1wAJLWv94PvUBOi8hm4+IsVOeSuL0wwOKjoSQ88hualrGQm4c yBfwx3yOkgyqsXmBym4+MwL5WlOXhwDPQxFvN3bN4z3MdaGErJS2MtK+VJ0L4Rda QjZS4gPK6rXl4ROafYhZhxDB09dXtdPi1kYEc1HC5vl+H1eRjW03fR9xO/nBBQDH 0yPlE87Ll5z7cL2XP1R7o0Yspflt/qkq+kTnvRZ67ZuxIwq/4ta2CQSL8pjSjNhw AHuhqn/BoYAQUfsGhf32waa873ca0Ql3tzSiGR+fNoJ5v+W4OnAQ9U61avsrU1AG ncRGHvA6UvwBnhuARBq7zKWX85o3Z4gPwUF+bfwnu0BGj5bOr/g4JMPrwbauDG3o kvVcD44L8fk53nuVwOU0yeGsrZGcVl6g8I50a64cFnlmgGWR2R0dWQHhvrkVxbPD R6sW1f6RVW1FW121a4WuJJpXHRdE4P+hhRxbm/pE/FY6jnvm5BuU89HRFv9O2n+S m+OnrfGqq/3e4hSN3OTA7LcbjmuXx3pAt6PjUp5lSR5/lhMaed+dU9/twvIzlUCr AGa9Qx6B250kh9y446cV =yv6d -----END PGP SIGNATURE----- |