aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2014-02-10 18:38:25 +0800
committergirgen <girgen@FreeBSD.org>2014-02-10 18:38:25 +0800
commit3b76c097b5ea55554d03cb398a810bc2e1cf5bba (patch)
tree14cb19212056493f9dae3ff7921d91a31c5411c3 /www
parentcc12ddbddede9a544ea03652f698e4405a16a3b3 (diff)
downloadfreebsd-ports-gnome-3b76c097b5ea55554d03cb398a810bc2e1cf5bba.tar.gz
freebsd-ports-gnome-3b76c097b5ea55554d03cb398a810bc2e1cf5bba.tar.zst
freebsd-ports-gnome-3b76c097b5ea55554d03cb398a810bc2e1cf5bba.zip
Add upstream patch that fixes a problem when running mod_jk with balanced tomcats.
PR: 186551 Submitted by: brd@ Obtained from: http://svn.apache.org/viewvc?view=revision&revision=1354021, https://issues.apache.org/bugzilla/show_bug.cgi?id=53762
Diffstat (limited to 'www')
-rw-r--r--www/mod_jk/Makefile1
-rw-r--r--www/mod_jk/files/patch-native--common--jk_status.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/www/mod_jk/Makefile b/www/mod_jk/Makefile
index ee83db8e9c39..24779b320cdf 100644
--- a/www/mod_jk/Makefile
+++ b/www/mod_jk/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mod_jk
PORTVERSION= 1.2.37
+PORTREVISION= 1
PORTEPOCH?= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE}
diff --git a/www/mod_jk/files/patch-native--common--jk_status.c b/www/mod_jk/files/patch-native--common--jk_status.c
new file mode 100644
index 000000000000..52ecf24892a7
--- /dev/null
+++ b/www/mod_jk/files/patch-native--common--jk_status.c
@@ -0,0 +1,11 @@
+--- common/jk_status.c.ori 2014-02-07 14:08:44.000000000 -0700
++++ common/jk_status.c 2014-02-07 14:09:05.000000000 -0700
+@@ -3647,7 +3647,7 @@
+ }
+ }
+ if (sync_needed == JK_TRUE) {
+- wr->sequence = 0;
++ wr->sequence = -1;
+ if (!rc)
+ rc = 3;
+ }