diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2009-02-21 15:07:45 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2009-02-21 15:07:45 +0000 |
commit | 701d71984cd2ae8ddabb45ca57a871fdb4a94df3 (patch) | |
tree | 799f7389b8981f2da6bfba2b3296b5faef3e360b /package/busybox/patches/450-httpd_accept_header.patch | |
parent | 3849a57cd7cb47e30a506222779916eebdbb28fb (diff) | |
download | mtk-20170518-701d71984cd2ae8ddabb45ca57a871fdb4a94df3.zip mtk-20170518-701d71984cd2ae8ddabb45ca57a871fdb4a94df3.tar.gz mtk-20170518-701d71984cd2ae8ddabb45ca57a871fdb4a94df3.tar.bz2 |
busybox: refresh busybox patches
SVN-Revision: 14590
Diffstat (limited to 'package/busybox/patches/450-httpd_accept_header.patch')
-rw-r--r-- | package/busybox/patches/450-httpd_accept_header.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/busybox/patches/450-httpd_accept_header.patch b/package/busybox/patches/450-httpd_accept_header.patch index 8910508..e3948cf 100644 --- a/package/busybox/patches/450-httpd_accept_header.patch +++ b/package/busybox/patches/450-httpd_accept_header.patch @@ -1,6 +1,6 @@ --- a/networking/httpd.c +++ b/networking/httpd.c -@@ -255,6 +255,8 @@ +@@ -255,6 +255,8 @@ struct globals { USE_FEATURE_HTTPD_BASIC_AUTH(char *remoteuser;) USE_FEATURE_HTTPD_CGI(char *referer;) USE_FEATURE_HTTPD_CGI(char *user_agent;) @@ -9,7 +9,7 @@ off_t file_size; /* -1 - unknown */ #if ENABLE_FEATURE_HTTPD_RANGES -@@ -302,6 +304,8 @@ +@@ -302,6 +304,8 @@ struct globals { #define remoteuser (G.remoteuser ) #define referer (G.referer ) #define user_agent (G.user_agent ) @@ -18,7 +18,7 @@ #define file_size (G.file_size ) #if ENABLE_FEATURE_HTTPD_RANGES #define range_start (G.range_start ) -@@ -1383,6 +1387,10 @@ +@@ -1383,6 +1387,10 @@ static void send_cgi_and_exit( } } setenv1("HTTP_USER_AGENT", user_agent); @@ -29,7 +29,7 @@ if (post_len) putenv(xasprintf("CONTENT_LENGTH=%d", post_len)); if (cookie) -@@ -2020,6 +2028,10 @@ +@@ -2020,6 +2028,10 @@ static void handle_incoming_and_exit(con referer = xstrdup(skip_whitespace(iobuf + sizeof("Referer:")-1)); } else if (STRNCASECMP(iobuf, "User-Agent:") == 0) { user_agent = xstrdup(skip_whitespace(iobuf + sizeof("User-Agent:")-1)); |