stabilizing a firefox proxy through a putty ssh tunnel

<td>
  <a href="/wp-content/uploads/2010/03/ssh_tunnel_1.png" class="smoothbox" rel="lightbox[225]"><img src="/wp-content/uploads/2010/03/ssh_tunnel_1.png" alt="network error: software caused connection abort" title="network error: software caused connection abort" width="314" height="119" class="alignnone size-full wp-image-226" /></a>
</td>

in order to prevent this from happening, i found a setting in firefox that can control the number of http connections being made at once. actually, there are two settings that i have tweaked in order to find a limit which seems to work well. in firefox, navigate to ‘about:config’. from there, just type in ‘max-connections’. you will now see two entries. they are ‘network.http.max-connections’ and ‘network.http.max-connections-per-server’. in my case, i changed them to 10 and 4 respectively, after doing some testing. see below for examples. while this probably slows web browsing, it keeps the number of http connections low enough for the ssh tunnel to keep up with the requests. i’d much rather have a slightly slower connection than to have to reconnect my ssh tunnel constantly.

<td align="center">
  <a href="/wp-content/uploads/2010/03/ssh_tunnel_3.png" class="smoothbox" rel="lightbox[225]"><img src="/wp-content/uploads/2010/03/ssh_tunnel_3-300x153.png" alt="" title="ssh_tunnel_3" width="300" height="153" class="alignnone size-medium wp-image-228" srcset="/wp-content/uploads/2010/03/ssh_tunnel_3-300x153.png 300w, /wp-content/uploads/2010/03/ssh_tunnel_3.png 555w" sizes="(max-width: 300px) 100vw, 300px" /></a>
</td>

feel free to comment if you have any questions or problems.