cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Digest auth fails after 5 minuts of idling

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 31 Mar 2004 13:58:43 +0200 (CEST)

On Tue, 30 Mar 2004, mitz wark wrote:

> I patched the code against 7.11.1, and run the test. I can tell some subtle
> difference in the output, however, I am still getting the 401. Is it
> possible? I'm not sure if it'll help to know but the server has WebDAV
> enabled.

I wrote up a test case (153) to verify my patch. It made me end up with:

* Patched the test HTTP server to offer more magic support to make my
  stale=true test run fine.

* I noticed that the digest header-parser didn't like incoming lines where
  the contents weren't within quotes (which Mitz's headers showed).

* I added a check that the algorthim used actually is supported.

* I found and fixed a memory leak when I finally came through doing
  re-negotiations.

All these changes are now committed to CVS, so I would like you to either
update from CVS and try that, or get tomorrow's snapshot and see if that works
the way you want with regard to this Digest failure. I really believe it works
now.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-03-31