<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/balance/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/balance/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 10 Dec 2017 00:29:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/balance/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Avoid deadlock</title><link>https://sourceforge.net/p/balance/patches/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;At high network load a deadlock migh happen leaving balance hanging trying to write data to the server while the server also hangs trying to write data back to balance. Killing the client  will leave the socket in a FIN_WAIT1 state. The problem is caused by the false assumption that only one file descriptor has data when select returns and this causes starvation of the server file descriptor. The attached patch fixes this by allways reading from all file descriptors that have new data after select returns. Maybe it would also be possible to fix this with better behaving servers and/or clients, but in my case this bug has been triggered with multiple levels of balance. That is balance has forwarded traffic to other load balancers using balance.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrik Carlqvist</dc:creator><pubDate>Sun, 10 Dec 2017 00:29:45 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netbcf41249a326334e849033f1c9463695266287db</guid></item><item><title>Connection count remains too high at fork failure</title><link>https://sourceforge.net/p/balance/patches/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For each new connection the connection counter as well as the total connections counter for that channel is increased. Then a new process is forked and that process will restore the connection counter before exit when the channel is closed. However, if the fork fails, the counter showing the number of active connections will keep its higher value even though no connection remains as no connection was ever done. &lt;/p&gt;
&lt;p&gt;This patch restores the correct value for the active number of connections counter. It also restores the total number of connections counter. &lt;/p&gt;
&lt;p&gt;The patch was created from latest version 3.54 from www.inlab.de&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrik Carlqvist</dc:creator><pubDate>Fri, 21 Jun 2013 13:22:07 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8661bb76b0638e219a97346c84a385a7fd20ce6e</guid></item><item><title>MAXCHANNELS are per group, not a total number</title><link>https://sourceforge.net/p/balance/patches/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The limitation of MAXCHANNELS (default 16) are per group (also max 16 groups) for a possible total of default max 16*16 = 256 channels evenly divided in 16 groups. However, in the code there is a check against no more than MAXCHANNELS total channels. This patch removes that faulty check.&lt;/p&gt;
&lt;p&gt;The code also contains the correct checks to avoid more than MAXCHANNELS channels in each group.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrik Carlqvist</dc:creator><pubDate>Sat, 07 May 2011 17:38:39 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9e6b19926dc60259026e6b1629723c357fb643aa</guid></item><item><title>Fix typo in manpage balance(1)</title><link>https://sourceforge.net/p/balance/patches/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;balance(1) of balance-3.35 misleadingly says, that "F" means "stay in foreground". However, The online help states that "f" is the right option.&lt;/p&gt;
&lt;p&gt;The attached patch fixes this typo by changing "F" to "f".&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 23 Feb 2007 11:52:29 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9144317627368e3a27893e32452164f82fc20571</guid></item><item><title>Enable TCP_NODELAY increased speed / less delay</title><link>https://sourceforge.net/p/balance/patches/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We have found that the following patch speeds up the &lt;br /&gt;
the connection of a Terminal-Session (RDP).&lt;/p&gt;
&lt;p&gt;The Patch enables TCP_NODELAY on the incoming &lt;br /&gt;
and outgoing TCP channel.&lt;/p&gt;
&lt;p&gt;Can you please add this or a simmilar fix to the next &lt;br /&gt;
version?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wim Bonis</dc:creator><pubDate>Tue, 30 Aug 2005 13:16:04 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1f6690b570f0d6c7a6d47f2f862e9ca1f0f93213</guid></item><item><title>timeouts: removed SIGALRM in favor of select()</title><link>https://sourceforge.net/p/balance/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When using balance, I came across the following&lt;br /&gt;
problem: The connection failure timeout does not seem&lt;br /&gt;
to be honored when the host does not respond at all. I&lt;br /&gt;
tried listing a completely firewalled host as one of&lt;br /&gt;
the destination hosts on the balance command-line, and&lt;br /&gt;
balance will just block on a connection to it for much&lt;br /&gt;
longer than the given timeout parameter. So what I did&lt;br /&gt;
was remove the SIGALRM business on connect and instead&lt;br /&gt;
made the connect() call non-blocking and then added a&lt;br /&gt;
subsequent select() call so that the connect will&lt;br /&gt;
properly time out after the given number of seconds. In&lt;br /&gt;
some initial testing, it appears to work just great.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Helfman</dc:creator><pubDate>Wed, 07 May 2003 22:39:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net896d07729ba1cf2f231fe2aa0c2e768d9c0de2d0</guid></item><item><title>RPM .spec file</title><link>https://sourceforge.net/p/balance/patches/1/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sean Reifschneider</dc:creator><pubDate>Wed, 01 Nov 2000 00:44:05 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net09f147b1c883a184296c26cfc0d37d482740c5b5</guid></item></channel></rss>