Branko Čibej <brane <at> wandisco.com> writes: > No. Pools encapsulate all resource management -- including file handles > and sockets (connections), not only allocated memory. > > This document explains how pools should be used: > > http://subversion.apache.org/docs/community-guide/conventions.html#apr-pools > > In your example, you should be using an iteration pool. >
Yes, that's what I did. It was more that I was somehow expecting the "ls3" connection to be reused instead of always creating a new one. The document also says: "Whenever an unbounded iteration occurs, an iteration subpool should be used." What is considered "unbounded iteration" here? I always thought that "for i = 1 to N" was considered a bounded loop, and "while (condition)" unbounded. - Michael