cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTPS PUT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 Feb 2001 10:27:37 +0100 (MET)

On Tue, 6 Feb 2001, Frank Reid wrote:

> Win32 compiles appear to be broken on the current CVS, with the "ssize_t"
> parameter being undefined.

Oh right. Thanks for pointing this out.

> ("#define ssize_t size_t" in curl.h seems to work, but not sure if that's
> an exact mapping.)

No. It is important that ssize_t is a signed variable (I figure that is what
the extra s stands for), and size_t is generally an unsigned one. Make it
'#define ssize_t int' instead and it is likely to work better. I've just
added that define to the config-win32.h file.

> Also, more importantly, HTTPS uploads are now broken using either Stable
> 7.6 or CVS, from what I can tell.

That's really odd. Can you fill in with more clues and traces? I really
haven't been mocking with the upload parts. And as Craig Davison filled in
yesterday, I'm not the only one who manage to use that without problems.

> I've only checked it with certificate-authenticated resources, but will
> try to see if it affects all HTTPS PUT activities. This worked
> previously using 7.5 on an identical configuration.

So if you have both 7.5 and 7.6 around, it still works with 7.5 but not with
7.6?

> Oops... should've given a bit more on the problem. It just dies after 8K
> transferred, finally resulting in some kind of timeout error. The server
> log shows the authentication succeeds, but the transfer fails.

... and this is not what you would expect?

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2001-02-07