cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Connect-timeout on Win32

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Tue, 17 Feb 2004 15:16:04 +0100

> I deemed this patch less important than some other stuff I really want fixed
> before the next release, so I'm currently working on that (see separate mail
> coming up shortly). Give me a couple of more days to get to your patch.

Okay.

There seem to be some other problem with curl.exe, chunked-encoding and
OpenSSL. This command
> curl -v --trace-ascii trace.fil -otest.ssl https://www.thawte.com/ucgi/browsercheck.exe

produces a test.ssl file with 1014 bytes of '‼' (ascii 19). The trace looks suspicious
too:

0000: 3f6
0005: <HTML>.<HEAD>.<TITLE>Thawte Certificate Compatibility Tester</TI
0045: TLE>.<LINK REL="stylesheet" HREF="/thawte.css" TYPE="text/css">.
0085: .</HEAD>.<BODY BGCOLOR=#FFFFFF>..<H1>SSL Seems OK</H1>..<P><IMG
00c5: SRC="/certs/server/stamp.gif" ALIGN=LEFT>.It looks like you conn
...
03c5: ; Thawte Consulting 1999<BR>.</FONT>.</BODY>.</HTML>..
<= Recv data, 5 bytes (0x5)
0000: 0
0003:
‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼‼

But tracing to stdout is no problem !? Looks like the 0-byte chunk messes
up something.

AFAICS other ssl connections are fine. I cannot see that it's related to my
patch. Seem to surface by accident.

curl.exe built with MingW.

--gv
Received on 2004-02-17