1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Disable authentication.

Author reports links crashes often if it is enabled.
This commit is contained in:
Dmitry Sivachenko 2001-02-26 08:38:19 +00:00
parent 5b74a4e675
commit 3b14d66efb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38779
6 changed files with 3 additions and 60 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= links
PORTVERSION= 0.95
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/download/ \
http://www.add.com.pl/links/download/ \

View File

@ -1,19 +0,0 @@
--- http.c.orig Thu Feb 22 12:21:56 2001
+++ http.c Thu Feb 22 12:22:44 2001
@@ -540,14 +540,14 @@
e->redirect_get = h == 303;
}
}
- /*if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) {
+ if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) {
if (!strncasecmp(d, "Basic", 5)) {
add_auth_entry(host, get_param(d, "realm"));
add_questions_entry(do_auth_dialog);
setcstate(c, S_QUESTIONS);
}
mem_free(d);
- }*/
+ }
kill_buffer_data(rb, a);
c->cache = e;
info->close = 0;

View File

@ -7,7 +7,7 @@
PORTNAME= links
PORTVERSION= 0.95
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/download/ \
http://www.add.com.pl/links/download/ \

View File

@ -1,19 +0,0 @@
--- http.c.orig Thu Feb 22 12:21:56 2001
+++ http.c Thu Feb 22 12:22:44 2001
@@ -540,14 +540,14 @@
e->redirect_get = h == 303;
}
}
- /*if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) {
+ if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) {
if (!strncasecmp(d, "Basic", 5)) {
add_auth_entry(host, get_param(d, "realm"));
add_questions_entry(do_auth_dialog);
setcstate(c, S_QUESTIONS);
}
mem_free(d);
- }*/
+ }
kill_buffer_data(rb, a);
c->cache = e;
info->close = 0;

View File

@ -7,7 +7,7 @@
PORTNAME= links
PORTVERSION= 0.95
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/download/ \
http://www.add.com.pl/links/download/ \

View File

@ -1,19 +0,0 @@
--- http.c.orig Thu Feb 22 12:21:56 2001
+++ http.c Thu Feb 22 12:22:44 2001
@@ -540,14 +540,14 @@
e->redirect_get = h == 303;
}
}
- /*if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) {
+ if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) {
if (!strncasecmp(d, "Basic", 5)) {
add_auth_entry(host, get_param(d, "realm"));
add_questions_entry(do_auth_dialog);
setcstate(c, S_QUESTIONS);
}
mem_free(d);
- }*/
+ }
kill_buffer_data(rb, a);
c->cache = e;
info->close = 0;