pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/haproxy/patches



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu May 29 20:36:50 UTC 2025

Added Files:
        pkgsrc/net/haproxy/patches: patch-src_backend.c

Log Message:
haproxy: add new patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/haproxy/patches/patch-src_backend.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/haproxy/patches/patch-src_backend.c
diff -u /dev/null pkgsrc/net/haproxy/patches/patch-src_backend.c:1.1
--- /dev/null   Thu May 29 20:36:50 2025
+++ pkgsrc/net/haproxy/patches/patch-src_backend.c      Thu May 29 20:36:50 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_backend.c,v 1.1 2025/05/29 20:36:50 adam Exp $
+
+Avoid 'struct queue' conflict.
+
+--- src/backend.c.orig 2025-05-29 17:49:16.686886918 +0000
++++ src/backend.c
+@@ -1037,7 +1037,7 @@ int assign_server_and_queue(struct strea
+                * not full, in which case we have to return FULL.
+                */
+               if (srv->maxconn) {
+-                      struct queue *queue = &srv->per_tgrp[tgid - 1].queue;
++                      struct haqueue *queue = &srv->per_tgrp[tgid - 1].queue;
+                       int served;
+                       int got_it = 0;
+ 



Home | Main Index | Thread Index | Old Index