[package] update hiawatha to 6.12 (#4854)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@15091 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-04-03 12:36:46 +00:00
parent 18afb2087b
commit 6ba059a28d
2 changed files with 3 additions and 14 deletions

View File

@ -9,12 +9,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=hiawatha
PKG_VERSION:=6.10
PKG_RELEASE:=2
PKG_VERSION:=6.12
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.hiawatha-webserver.org/files/
PKG_MD5SUM:=78d364b586a766a428b94b4461d4aa04
PKG_MD5SUM:=cf03ec29484297af9d0d313fad23e061
include $(INCLUDE_DIR)/package.mk

View File

@ -1,11 +0,0 @@
--- a/envir.c
+++ b/envir.c
@@ -189,6 +189,8 @@ void set_environment(t_session *session,
headerfield_to_environment(session, fcgi_buffer, "User-Agent:", "HTTP_USER_AGENT");
headerfield_to_environment(session, fcgi_buffer, "Via:", "HTTP_VIA");
headerfield_to_environment(session, fcgi_buffer, "X-Forwarded-For:", "HTTP_X_FORWARDED_FOR");
+ headerfield_to_environment(session, fcgi_buffer, "X-Requested-With:", "HTTP_X_REQUESTED_WITH");
+ headerfield_to_environment(session, fcgi_buffer, "X-Requested-Handler:", "HTTP_X_REQUESTED_HANDLER");
if (session->path_info != NULL) {
add_to_environment(fcgi_buffer, "PATH_INFO", session->path_info);