W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1999

Re: basic authentication broken on Windows

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 23 Jun 1999 14:46:59 -0400
To: www-lib@w3.org
Message-ID: <37712BA3.53B64E23@w3.org>
To: Raffaele Sena <raff@nuvomedia.com>
Raffaele Sena wrote:
> 
> Well, I think I found what it is, and I fixed it (in some way).

I think I have seen the same thing.
 
The line number is not quite the same so I don't know whether you have
the latest version. However, I have changed the return code at the
euivalent location in this patch - does that work for you?

-- 
Henrik Frystyk Nielsen, <frystyk@w3.org>
World Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA
Index: HTTP.c
===================================================================
RCS file: /sources/public/libwww/Library/src/HTTP.c,v
retrieving revision 1.182
diff -c -r1.182 HTTP.c
*** HTTP.c	1999/04/17 20:39:17	1.182
--- HTTP.c	1999/06/23 18:44:55
***************
*** 1027,1033 ****
          */
          if (HTHost_numberOfOutstandingNetObjects(host) == 1 &&
  	    http->result != HT_CONTINUE && (doc_len<0 || doc_len==read_len)) {
! 	    HTTPCleanup(request, HT_LOADED);
          } else {
              HTRequest_addError(request, ERR_FATAL, NO, HTERR_INTERRUPTED,
  			       NULL, 0, "HTLoadHTTP");
--- 1027,1033 ----
          */
          if (HTHost_numberOfOutstandingNetObjects(host) == 1 &&
  	    http->result != HT_CONTINUE && (doc_len<0 || doc_len==read_len)) {
! 	    HTTPCleanup(request, http->result);		/* Raffaele Sena: was HT_LOADED */
          } else {
              HTRequest_addError(request, ERR_FATAL, NO, HTERR_INTERRUPTED,
  			       NULL, 0, "HTLoadHTTP");
Received on Wednesday, 23 June 1999 14:47:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT