merged changes from RC_1_0 to change email address from @rasterbar.com to @libtorrent.org

This commit is contained in:
Arvid Norberg 2014-10-14 02:06:20 +00:00
parent d287ce9c46
commit fce967b5fb
44 changed files with 302 additions and 13316 deletions

View File

@ -106,7 +106,7 @@ else:
setup(name = 'python-libtorrent',
version = '1.0.1',
author = 'Arvid Norberg',
author_email = 'arvid@rasterbar.com',
author_email = 'arvid@libtorrent.org',
description = 'Python bindings for libtorrent-rasterbar',
long_description = 'Python bindings for libtorrent-rasterbar',
url = 'http://libtorrent.org',

View File

@ -5,7 +5,7 @@
AC_PREREQ([2.63])
AC_INIT([libtorrent-rasterbar],[1.1.0],[arvid@rasterbar.com],
AC_INIT([libtorrent-rasterbar],[1.1.0],[arvid@libtorrent.org],
[libtorrent-rasterbar],[http://www.libtorrent.org])
AC_CONFIG_SRCDIR([src/torrent.cpp])
AC_CONFIG_AUX_DIR([build-aux])

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>libtorrent manual</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.1.0</td></tr>
</tbody>

View File

@ -2,7 +2,7 @@
libtorrent manual
=================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>client_test example program</title>
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>libtorrent manual</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.1.0</td></tr>
</tbody>
@ -55,7 +55,7 @@
<h1>contributing to libtorrent</h1>
<p>There are several ways to contribute to libtorrent at various levels. Any help is
much appreciated. If you're interested in something libtorrent related that's not
enumerated on this page, please contact <a class="reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a> or the <a class="reference external" href="http://lists.sourceforge.net/lists/listinfo/libtorrent-discuss">mailing list</a>.</p>
enumerated on this page, please contact <a class="reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a> or the <a class="reference external" href="http://lists.sourceforge.net/lists/listinfo/libtorrent-discuss">mailing list</a>.</p>
<ol class="arabic">
<li><dl class="first docutils">
<dt>Testing</dt>

View File

@ -2,7 +2,7 @@
libtorrent manual
=================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents
@ -14,7 +14,7 @@ contributing to libtorrent
There are several ways to contribute to libtorrent at various levels. Any help is
much appreciated. If you're interested in something libtorrent related that's not
enumerated on this page, please contact arvid@rasterbar.com or the `mailing list`_.
enumerated on this page, please contact arvid@libtorrent.org or the `mailing list`_.
.. _`mailing list`: http://lists.sourceforge.net/lists/listinfo/libtorrent-discuss

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title></title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
</tbody>
</table>
<div class="section" id="mainline-dht-extensions">

View File

@ -1,4 +1,4 @@
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
Mainline DHT extensions
=======================

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>BitTorrent extension for DHT RSS feeds</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.1.0</td></tr>
</tbody>

View File

@ -2,7 +2,7 @@
BitTorrent extension for DHT RSS feeds
======================================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>BitTorrent DHT security extension</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.1.0</td></tr>
</tbody>

View File

@ -2,7 +2,7 @@
BitTorrent DHT security extension
=================================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>BitTorrent extension for arbitrary DHT store</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.1.0</td></tr>
</tbody>

View File

@ -2,7 +2,7 @@
BitTorrent extension for arbitrary DHT store
============================================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>libtorrent Examples</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.0.2</td></tr>
</tbody>

View File

@ -2,7 +2,7 @@
libtorrent Examples
===================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.0.2
.. contents:: Table of contents

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title></title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com Ludvig Strigeus, ludde&#64;utorrent.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org Ludvig Strigeus, ludde&#64;utorrent.com" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a>
<td>Arvid Norberg, <a class="reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a>
Ludvig Strigeus, <a class="last reference external" href="mailto:ludde&#64;utorrent.com">ludde&#64;utorrent.com</a></td></tr>
</tbody>
</table>

View File

@ -1,4 +1,4 @@
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
Ludvig Strigeus, ludde@utorrent.com
extension protocol for bittorrent

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>libtorrent manual</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.1.0</td></tr>
</tbody>

View File

@ -2,7 +2,7 @@
libtorrent manual
=================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -923,7 +923,7 @@ for cat in categories:
out.write('%s\n' % heading(cat, '='))
out.write('''
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.0.0
.. contents:: Table of contents

View File

@ -2,7 +2,7 @@
libtorrent hacking
==================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title></title>
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
libtorrent API Documentation
============================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>projects using libtorrent</title>
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
@ -36,7 +36,7 @@
<h1 class="title">projects using libtorrent</h1>
<p>These are some of the public projects that uses libtorrent. If you want your
project listed here, let <a class="reference external" href="mailto:arvid&#64;rasterbar.com">me</a> know.</p>
project listed here, let <a class="reference external" href="mailto:arvid&#64;libtorrent.org">me</a> know.</p>
<div class="section" id="wyzo">
<h1>Wyzo</h1>
<p><a class="reference external" href="http://www.wyzo.com/">wyzo</a> is a media browser with built-in bittorrent support.</p>

View File

@ -4,7 +4,7 @@ projects using libtorrent
These are some of the public projects that uses libtorrent. If you want your
project listed here, let me_ know.
.. _me: mailto:arvid@rasterbar.com
.. _me: mailto:arvid@libtorrent.org
Wyzo

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>libtorrent python binding</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
</tbody>
</table>
<div class="contents topic" id="table-of-contents">

View File

@ -2,7 +2,7 @@
libtorrent python binding
=========================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
.. contents:: Table of contents
:depth: 2

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>Session</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.0.0</td></tr>
</tbody>

View File

@ -1,89 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" />
<title>libtorrent manual</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<link rel="stylesheet" type="text/css" href="../../css/base.css" />
<link rel="stylesheet" type="text/css" href="../../css/rst.css" />
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>
<link rel="stylesheet" href="style.css" type="text/css" />
<style type="text/css">
/* Hides from IE-mac \*/
* html pre { height: 1%; }
/* End hide from IE-mac */
</style>
</head>
<body>
<div class="document" id="libtorrent-manual">
<div id="container">
<div id="headerNav">
<ul>
<li class="first"><a href="/">Home</a></li>
<li><a href="../../products.html">Products</a></li>
<li><a href="../../contact.html">Contact</a></li>
</ul>
</div>
<div id="header">
<div id="orange"></div>
<div id="logo"></div>
</div>
<div id="main">
<h1 class="title">libtorrent manual</h1>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
</tbody>
</table>
<div class="contents topic" id="table-of-contents">
<p class="topic-title first">Table of contents</p>
<ul class="simple">
<li><a class="reference internal" href="#running-and-building-tests" id="id2">running and building tests</a></li>
<li><a class="reference internal" href="#delegate" id="id3">delegate</a></li>
</ul>
</div>
<div class="section" id="running-and-building-tests">
<h1>running and building tests</h1>
<p>The tests for SOCKS and HTTP proxy relies on <tt class="docutils literal">delegate</tt> being installed
to set up test proxies. 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>
<div class="section" id="delegate">
<h1>delegate</h1>
<p><a class="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
<a class="reference external" href="http://www.delegate.org/delegate/download/">deletate's download page</a>. Make sure to name the executable <tt class="docutils literal">delegated</tt>
and put it in a place where a shell can pick it up, in its <tt class="docutils literal">PATH</tt>. For
instance <tt class="docutils literal">/bin</tt>.</p>
</div>
</div>
<div id="footer">
<span>Copyright &copy; 2005-2013 Rasterbar Software.</span>
</div>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1599045-1";
urchinTracker();
</script>
</div>
</body>
</html>

View File

@ -252,6 +252,10 @@ disconnect peers.
.. _peer.num_peers_down_interested:
.. _peer.num_peers_up_unchoked_all:
.. _peer.num_peers_up_unchoked_optimistic:
.. _peer.num_peers_up_unchoked:
.. _peer.num_peers_down_unchoked:
@ -281,6 +285,8 @@ disconnect peers.
<a name="peer.num_peers_connected"></a>
<a name="peer.num_peers_up_interested"></a>
<a name="peer.num_peers_down_interested"></a>
<a name="peer.num_peers_up_unchoked_all"></a>
<a name="peer.num_peers_up_unchoked_optimistic"></a>
<a name="peer.num_peers_up_unchoked"></a>
<a name="peer.num_peers_down_unchoked"></a>
<a name="peer.num_peers_up_requests"></a>
@ -289,53 +295,62 @@ disconnect peers.
<a name="peer.num_peers_up_disk"></a>
<a name="peer.num_peers_down_disk"></a>
+--------------------------------+-------+
| name | type |
+================================+=======+
| peer.num_tcp_peers | gauge |
+--------------------------------+-------+
| peer.num_socks5_peers | gauge |
+--------------------------------+-------+
| peer.num_http_proxy_peers | gauge |
+--------------------------------+-------+
| peer.num_utp_peers | gauge |
+--------------------------------+-------+
| peer.num_i2p_peers | gauge |
+--------------------------------+-------+
| peer.num_ssl_peers | gauge |
+--------------------------------+-------+
| peer.num_ssl_socks5_peers | gauge |
+--------------------------------+-------+
| peer.num_ssl_http_proxy_peers | gauge |
+--------------------------------+-------+
| peer.num_ssl_utp_peers | gauge |
+--------------------------------+-------+
| peer.num_peers_half_open | gauge |
+--------------------------------+-------+
| peer.num_peers_connected | gauge |
+--------------------------------+-------+
| peer.num_peers_up_interested | gauge |
+--------------------------------+-------+
| peer.num_peers_down_interested | gauge |
+--------------------------------+-------+
| peer.num_peers_up_unchoked | gauge |
+--------------------------------+-------+
| peer.num_peers_down_unchoked | gauge |
+--------------------------------+-------+
| peer.num_peers_up_requests | gauge |
+--------------------------------+-------+
| peer.num_peers_down_requests | gauge |
+--------------------------------+-------+
| peer.num_peers_end_game | gauge |
+--------------------------------+-------+
| peer.num_peers_up_disk | gauge |
+--------------------------------+-------+
| peer.num_peers_down_disk | gauge |
+--------------------------------+-------+
+---------------------------------------+-------+
| name | type |
+=======================================+=======+
| peer.num_tcp_peers | gauge |
+---------------------------------------+-------+
| peer.num_socks5_peers | gauge |
+---------------------------------------+-------+
| peer.num_http_proxy_peers | gauge |
+---------------------------------------+-------+
| peer.num_utp_peers | gauge |
+---------------------------------------+-------+
| peer.num_i2p_peers | gauge |
+---------------------------------------+-------+
| peer.num_ssl_peers | gauge |
+---------------------------------------+-------+
| peer.num_ssl_socks5_peers | gauge |
+---------------------------------------+-------+
| peer.num_ssl_http_proxy_peers | gauge |
+---------------------------------------+-------+
| peer.num_ssl_utp_peers | gauge |
+---------------------------------------+-------+
| peer.num_peers_half_open | gauge |
+---------------------------------------+-------+
| peer.num_peers_connected | gauge |
+---------------------------------------+-------+
| peer.num_peers_up_interested | gauge |
+---------------------------------------+-------+
| peer.num_peers_down_interested | gauge |
+---------------------------------------+-------+
| peer.num_peers_up_unchoked_all | gauge |
+---------------------------------------+-------+
| peer.num_peers_up_unchoked_optimistic | gauge |
+---------------------------------------+-------+
| peer.num_peers_up_unchoked | gauge |
+---------------------------------------+-------+
| peer.num_peers_down_unchoked | gauge |
+---------------------------------------+-------+
| peer.num_peers_up_requests | gauge |
+---------------------------------------+-------+
| peer.num_peers_down_requests | gauge |
+---------------------------------------+-------+
| peer.num_peers_end_game | gauge |
+---------------------------------------+-------+
| peer.num_peers_up_disk | gauge |
+---------------------------------------+-------+
| peer.num_peers_down_disk | gauge |
+---------------------------------------+-------+
the number of peer connections for each kind of socket.
these counts include half-open (connecting) peers.
``num_peers_up_unchoked_all`` is the total number of unchoked peers,
whereas ``num_peers_up_unchoked`` only are unchoked peers that count
against the limit (i.e. excluding peers that are unchoked because the
limit doesn't apply to them). ``num_peers_up_unchoked_optimistic`` is
the number of optimistically unchoked peers.
.. _net.on_read_counter:

View File

@ -21,17 +21,6 @@
</style>
%(body_prefix)s
<div id="container">
<div id="headerNav">
<ul>
<li class="first"><a href="/">Home</a></li>
<li><a href="../../products.html">Products</a></li>
<li><a href="../../contact.html">Contact</a></li>
</ul>
</div>
<div id="header">
<h1><span>Rasterbar Software</span></h1>
<h2><span>Software developement and consulting</span></h2>
</div>
<div id="main">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
@ -49,7 +38,7 @@
%(body)s
</div>
<div id="footer">
<span>Copyright &copy; 2005 Rasterbar Software.</span>
<span>Copyright &copy; 2014 Arvid Norberg</span>
</div>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">

File diff suppressed because one or more lines are too long

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>libtorrent manual</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,14 +40,14 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.0.0</td></tr>
</tbody>
</table>
<p>The following troubleshooting chart may help in finding out why torrents fail
to download. It is not complete, please submit suggestions via mail to
<a class="reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a> or to the <a class="reference external" href="http://lists.sourceforge.net/lists/listinfo/libtorrent-discuss">mailing list</a>. Ideally in the form of patches
<a class="reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a> or to the <a class="reference external" href="http://lists.sourceforge.net/lists/listinfo/libtorrent-discuss">mailing list</a>. Ideally in the form of patches
against <tt class="docutils literal">docs/troubleshooting.dot</tt>.</p>
<p><a class="reference external" href="troubleshooting.png"><img alt="thumb" src="troubleshooting_thumb.png" /></a></p>
</div>

View File

@ -2,7 +2,7 @@
libtorrent manual
=================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.0.0
.. contents:: Table of contents
@ -11,7 +11,7 @@ libtorrent manual
The following troubleshooting chart may help in finding out why torrents fail
to download. It is not complete, please submit suggestions via mail to
arvid@rasterbar.com or to the `mailing list`_. Ideally in the form of patches
arvid@libtorrent.org or to the `mailing list`_. Ideally in the form of patches
against ``docs/troubleshooting.dot``.
.. _`mailing list`: http://lists.sourceforge.net/lists/listinfo/libtorrent-discuss

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>libtorrent manual</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.1.0</td></tr>
</tbody>

View File

@ -2,7 +2,7 @@
libtorrent manual
=================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>Bittorrent udp-tracker protocol extension</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
</tbody>
</table>
<div class="contents topic" id="table-of-contents">

View File

@ -1,7 +1,7 @@
Bittorrent udp-tracker protocol extension
=========================================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
.. contents:: Table of contents
:depth: 2

View File

@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>libtorrent manual</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="rst.css" />
<script type="text/javascript">
@ -40,7 +40,7 @@
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;rasterbar.com">arvid&#64;rasterbar.com</a></td></tr>
<td>Arvid Norberg, <a class="last reference external" href="mailto:arvid&#64;libtorrent.org">arvid&#64;libtorrent.org</a></td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>1.1.0</td></tr>
</tbody>

View File

@ -2,7 +2,7 @@
libtorrent manual
=================
:Author: Arvid Norberg, arvid@rasterbar.com
:Author: Arvid Norberg, arvid@libtorrent.org
:Version: 1.1.0
.. contents:: Table of contents

View File

@ -40,14 +40,25 @@ static const int file_sizes[] =
,1,1,1,1,1,1,13,65000,34,75,2,30,400,500,23000,900,43000,400,4300,6, 4};
const int num_files = sizeof(file_sizes)/sizeof(file_sizes[0]);
void test_checking(bool read_only_files, bool corrupt_files = false)
enum
{
// make sure we don't accidentally require files to be writable just to
// check their hashes
read_only_files = 1,
// make sure we detect corrupt files and mark the appropriate pieces
// as not had
corrupt_files = 2,
};
void test_checking(int flags = read_only_files)
{
using namespace libtorrent;
namespace lt = libtorrent;
fprintf(stderr, "==== TEST CHECKING %s%s=====\n"
, read_only_files?"read-only-files ":""
, corrupt_files?"corrupt ":"");
, (flags & read_only_files) ? "read-only-files ":""
, (flags & corrupt_files) ? "corrupt ":"");
// make the files writable again
for (int i = 0; i < num_files; ++i)
@ -98,7 +109,7 @@ void test_checking(bool read_only_files, bool corrupt_files = false)
, to_hex(ti->info_hash().to_string()).c_str());
// overwrite the files with new random data
if (corrupt_files)
if (flags & corrupt_files)
{
fprintf(stderr, "corrupt file test. overwriting files\n");
// increase the size of some files. When they're read only that forces
@ -110,7 +121,7 @@ void test_checking(bool read_only_files, bool corrupt_files = false)
}
// make the files read only
if (read_only_files)
if (flags & read_only_files)
{
fprintf(stderr, "making files read-only\n");
for (int i = 0; i < num_files; ++i)
@ -164,7 +175,7 @@ void test_checking(bool read_only_files, bool corrupt_files = false)
if (!st.error.empty()) break;
test_sleep(1000);
}
if (corrupt_files)
if (flags & corrupt_files)
{
TEST_CHECK(!st.is_seeding);
@ -199,7 +210,7 @@ void test_checking(bool read_only_files, bool corrupt_files = false)
}
// make the files writable again
if (read_only_files)
if (flags & read_only_files)
{
for (int i = 0; i < num_files; ++i)
{
@ -225,9 +236,9 @@ void test_checking(bool read_only_files, bool corrupt_files = false)
int test_main()
{
test_checking(false);
test_checking(true);
test_checking(true, true);
test_checking();
test_checking(read_only_files);
test_checking(read_only_files | corrupt_files);
test_checking(false, true);
return 0;