cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Upload file over proxy with mandatory delay after send headers

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 29 Dec 2006 12:16:22 +0100 (CET)

On Fri, 29 Dec 2006, ??????? ?????? wrote:

> But if I use Sleep(...) function after send headers like this:

[...]

> the file uploaded successfully:

[...]

> I have success upload also if  I'am set proxy auth as 'NTLM' initially.
>
> May be THIS proxy-server need delay (Wingate 6)?

Yes, your description it certainly sounds as if it needs the delay. However,
requiring such a kludge is nothing but a sign of a severly broken proxy/server
and I don't see what libcurl should or even can do to better work with such
software. Do you?

It would be really painful to add the delay unconditonally for all situations
since proper-working proxies/servers don't need this and we'd only slow down
the operation for all those cases then!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-12-29