Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
openwrt-packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Feed
openwrt-packages
Commits
87d5136e
Commit
87d5136e
authored
10 years ago
by
sbyx
Browse files
Options
Downloads
Plain Diff
Merge pull request #40 from heil/master
haproxy: add upstream bugfix, adapt Copyright
parents
7d766208
9501ca56
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
net/haproxy/Makefile
+2
-2
2 additions, 2 deletions
net/haproxy/Makefile
net/haproxy/patches/0001-BUG-MEDIUM-Consistently-use-check-in-process_chk.patch
+31
-0
31 additions, 0 deletions
...01-BUG-MEDIUM-Consistently-use-check-in-process_chk.patch
with
33 additions
and
2 deletions
net/haproxy/Makefile
+
2
−
2
View file @
87d5136e
#
# Copyright (C) 2010-2013 OpenWrt.org
# Copyright (C) 2009-201
3
Thomas Heil <heil@terminal-consulting.de>
# Copyright (C) 2009-201
4
Thomas Heil <heil@terminal-consulting.de>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
...
...
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME
:=
haproxy
PKG_VERSION
:=
1.5.0
PKG_RELEASE
:=
0
0
PKG_RELEASE
:=
0
1
PKG_SOURCE
:=
haproxy-
$(
PKG_VERSION
)
.tar.gz
PKG_SOURCE_URL
:=
http://haproxy.1wt.eu/download/1.5/src/
PKG_MD5SUM
:=
e33bb97e644e98af948090f1ecebbda9
...
...
This diff is collapsed.
Click to expand it.
net/haproxy/patches/0001-BUG-MEDIUM-Consistently-use-check-in-process_chk.patch
0 → 100644
+
31
−
0
View file @
87d5136e
From 9ac7cabaf9945fb92c96cb92f5ea85235f54f7d6 Mon Sep 17 00:00:00 2001
From: Simon Horman <horms@verge.net.au>
Date: Fri, 20 Jun 2014 12:29:47 +0900
Subject: [PATCH] BUG/MEDIUM: Consistently use 'check' in process_chk
I am not entirely sure that this is a bug, but it seems
to me that it may cause a problem if there agent-check is
configured and there is some kind of error making a connection for it.
Signed-off-by: Simon Horman <horms@verge.net.au>
(cherry picked from commit ccaabcdfca23851af6fd83f4f3265284d283e2ab)
---
src/checks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/checks.c b/src/checks.c
index cba0018..f3b2b54 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -1541,7 +1541,7 @@
static struct task *process_chk(struct task *t)
* First, let's check whether there was an uncaught error,
* which can happen on connect timeout or error.
*/
- if (s->check.result == CHK_RES_UNKNOWN) {
+ if (check->result == CHK_RES_UNKNOWN) {
/* good connection is enough for pure TCP check */
if ((conn->flags & CO_FL_CONNECTED) && !check->type) {
if (check->use_ssl)
--
1.8.5.5
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment