<p>Some of the tests of libtorrent are not self contained. For instance, in
order to test the <ttclass="docutils literal"><spanclass="pre">http_connection</span></tt> class in libtorrent, the test requires
<aclass="reference external"href="http://www.lighttpd.net">lighty</a>. This document outlines the requirements of the tests as well as
describes how to set up your environment to be able to run them.</p>
</div>
<divclass="section"id="id1">
<h1>lighty</h1>
<p>Download <aclass="reference external"href="http://www.lighttpd.net">lighty</a>. I've tested with <ttclass="docutils literal"><spanclass="pre">lighttpd-1.4.19</span></tt>. If libtorrent is built
with SSL support (which it is by default), lighty needs SSL support as well.</p>
<p>To build lighty with SSL support do:</p>
<preclass="literal-block">
./configure --with-openssl
</pre>
<p>Followed by:</p>
<preclass="literal-block">
sudo make install
</pre>
<p>Make sure you have SSL support in lighty by running:</p>
<preclass="literal-block">
lighttpd -V
</pre>
<p>Which gives you a list of all enabled features.</p>
</div>
<divclass="section"id="delegate">
<h1>delegate</h1>
<p><aclass="reference external"href="http://www.delegate.org">Delegate</a> can act as many different proxies, which makes it a convenient
tool to use to test libtorrent's support for SOCKS4, SOCKS5, HTTPS and
HTTP proxies.</p>
<p>You can download prebuilt binaries for the most common platforms on
<aclass="reference external"href="http://www.delegate.org/delegate/download/">deletate's download page</a>. Make sure to name the executable <ttclass="docutils literal"><spanclass="pre">delegated</span></tt>
and put it in a place where a shell can pick it up, in its <ttclass="docutils literal"><spanclass="pre">PATH</span></tt>. For