artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c5a1b
)
set Location header for 307 and 308 status codes
author
benno
<benno@openbsd.org>
Thu, 14 Dec 2017 21:19:47 +0000
(21:19 +0000)
committer
benno
<benno@openbsd.org>
Thu, 14 Dec 2017 21:19:47 +0000
(21:19 +0000)
ok sthen@ phessler@
usr.sbin/httpd/server_http.c
patch
|
blob
|
history
diff --git
a/usr.sbin/httpd/server_http.c
b/usr.sbin/httpd/server_http.c
index
e64de0d
..
414e297
100644
(file)
--- a/
usr.sbin/httpd/server_http.c
+++ b/
usr.sbin/httpd/server_http.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: server_http.c,v 1.11
7 2017/05/15 10:40:47 jsg Exp $
*/
+/* $OpenBSD: server_http.c,v 1.11
8 2017/12/14 21:19:47 benno Exp $
*/
/*
* Copyright (c) 2006 - 2017 Reyk Floeter <reyk@openbsd.org>
@@
-875,6
+875,8
@@
server_abort_http(struct client *clt, unsigned int code, const char *msg)
case 301:
case 302:
case 303:
+ case 307:
+ case 308:
if (msg == NULL)
break;
memset(buf, 0, sizeof(buf));