| 
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550 | 
            #       than X.
            #
            incr redirectCount
            #
            # TODO: Maybe make this limit configurable?
            #
            if {$redirectCount > #
              # NOTE: Just "give up" and return whatever data that we have
              #       now.
              #
              set data [::http::data $token]
              ::http::cleanup $token; break
            }10} then { | 
|
 | 
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
 | 
            #       than X.
            #
            incr redirectCount
            #
            # TODO: Maybe make this limit configurable?
            #
            if {$redirectCount > $redirectLimit} then {
              #
              # NOTE: Just "give up" and return whatever data that we have
              #       now.
              #
              set data [::http::data $token]
              ::http::cleanup $token; break
            }
 |