On 3/24/15 7:19 AM,
pal...@yahoo.com wrote:
> On Tuesday, March 24, 2015 at 11:29:24 AM UTC+5:30, JonoK wrote:
>> On Tuesday, 24 March 2015 12:00:54 UTC+11, Gerald W. Lester wrote:
>>> On 3/23/15 6:59 PM, JonoK wrote:
>>>> package require http
>>>> package require tls
>>>>
>>>> #::http::register https 443 [list ::tls::socket -tls1 true]
>>>> ::http::register https 443 ::tls::socket
>>>>
>>>> set tok [::http::geturlhttps://
www.afleventoffice.com.au/2010.asp]
>>>> puts "[http::data $tok]"
>>>
>>> Tried this on OSX with 8.6 (ActiveState build of 8.6.3) and 8.5 (8.5.5).
>>>
>>> 8.6 fails but 8.5 works.
>>>
>>>
>>> --
>>
>> Well, I tried rebuilding with 8.5, but get the same result. :(
>>
>> I'll give Active state build a go... which I did. I got it to work using 8.6.3.
> It appears TLS 1.6.4 is broken in some form. Trying various combinations,
>
> With TLS 1.6,
>
> Tcl 8.6.0 works with http 2.8.5 (part of Tcl 8.6.0) AND http 2.8.8 (part
of Tcl 8.6.4). Same is true with Tcl 8.6.4
>
> With TLS 1.6.4,
>
> Using Tcl 8.6.0 http 2.8.5 results in a CPU spin (I suspect an EOF
condition is not handled). Tcl 8.6.4 + http 2.8.8 results in connect failed
due to EOF (which is what you saw).
>
> I don't know what version of TLS you have with Active Tcl 8.6.3. It might
> still be TLS 1.6 which is why it works.