Bug 186551 - [patch] www/mod_jk: Patch a bug with using multiple backends with mod_jk
Summary: [patch] www/mod_jk: Patch a bug with using multiple backends with mod_jk
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Palle Girgensohn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 21:30 UTC by Brad Davis
Modified: 2014-02-10 10:41 UTC (History)
0 users

See Also:


Attachments
patch-mod_jk.diff (992 bytes, patch)
2014-02-07 21:30 UTC, Brad Davis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Davis freebsd_committer freebsd_triage 2014-02-07 21:30:00 UTC

Fix: This patch is from https://issues.apache.org/bugzilla/show_bug.cgi?id=53762
	It fixes a bug in the jkmanager that causes it not sync config changes between the httpd threads.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-07 21:30:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->girgen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-10 10:38:34 UTC
Author: girgen
Date: Mon Feb 10 10:38:25 2014
New Revision: 343619
URL: http://svnweb.freebsd.org/changeset/ports/343619
QAT: https://qat.redports.org/buildarchive/r343619/

Log:
  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

Added:
  head/www/mod_jk/files/patch-native--common--jk_status.c   (contents, props changed)
Modified:
  head/www/mod_jk/Makefile

Modified: head/www/mod_jk/Makefile
==============================================================================
--- head/www/mod_jk/Makefile	Mon Feb 10 10:20:42 2014	(r343618)
+++ head/www/mod_jk/Makefile	Mon Feb 10 10:38:25 2014	(r343619)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mod_jk
 PORTVERSION=	1.2.37
+PORTREVISION=	1
 PORTEPOCH?=	1
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_APACHE}

Added: head/www/mod_jk/files/patch-native--common--jk_status.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_jk/files/patch-native--common--jk_status.c	Mon Feb 10 10:38:25 2014	(r343619)
@@ -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;
+             }
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Palle Girgensohn freebsd_committer freebsd_triage 2014-02-10 10:40:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!