Re: basic authentication broken on Windows

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 UTC