aboutsummaryrefslogtreecommitdiffstats
path: root/net/haproxy-devel
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2012-12-26 04:13:09 +0800
committerdemon <demon@FreeBSD.org>2012-12-26 04:13:09 +0800
commitfec5588e8ccfe024a4f16ada029619445e229de5 (patch)
treec0a35886cb8ee79262d635aaa91160f5d003c63c /net/haproxy-devel
parent3724de5c71646b96cd2571631197a8b44b9a5fd3 (diff)
downloadfreebsd-ports-gnome-fec5588e8ccfe024a4f16ada029619445e229de5.tar.gz
freebsd-ports-gnome-fec5588e8ccfe024a4f16ada029619445e229de5.tar.zst
freebsd-ports-gnome-fec5588e8ccfe024a4f16ada029619445e229de5.zip
Fix stats page.
Obtained from: project repository.
Diffstat (limited to 'net/haproxy-devel')
-rw-r--r--net/haproxy-devel/files/patch-src-proto_http.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/haproxy-devel/files/patch-src-proto_http.c b/net/haproxy-devel/files/patch-src-proto_http.c
new file mode 100644
index 000000000000..7d9f3e33a136
--- /dev/null
+++ b/net/haproxy-devel/files/patch-src-proto_http.c
@@ -0,0 +1,16 @@
+--- src/proto_http.c.orig 2012-12-24 19:48:14.000000000 +0400
++++ src/proto_http.c 2012-12-26 00:10:46.000000000 +0400
+@@ -3113,11 +3113,11 @@
+ trash.str[trash.len++] = ' ';
+ trash.len += build_logline(s, trash.str + trash.len, trash.size - trash.len, &rule->arg.hdr_add.fmt);
+ http_header_add_tail2(&txn->req, &txn->hdr_idx, trash.str, trash.len);
+- break;
++ return rule;
+ }
+ }
+ }
+- return rule;
++ return NULL;
+ }
+
+ /* This stream analyser runs all HTTP request processing which is common to