libtorrent with premiere torrent support
Go to file
patch3proxyheaders915360 832857e384 set HTTP Host to request-target when using proxy
To make the Host field carry the request-target it is enough to set
the Host information before changing the connection destination.

Many proxies rely on the Host field-value to route requests
in a violation of RFC7230 section 5.4.

https://tools.ietf.org/html/rfc7230#section-5.4

A request with the Host field set to the proxy hostname and port
in place of the request-target produces error responses and otherwise
confuses such misconfigured middleboxes.
2019-07-01 10:17:20 +02:00
.github add contributing and issue template 2016-04-14 19:06:52 -04:00
bindings bump version of RC_1_2 to 1.2.1 2019-04-28 03:31:04 +02:00
cmake/Modules fix cmake generating pkg-config file 2018-12-07 23:37:03 +01:00
docs Fix typo on main page 2019-05-04 20:31:14 +02:00
ed25519 remove dead code in ed25519 2018-12-08 11:37:31 +01:00
examples remove redundant virtual in custom_storage.cpp 2019-02-20 09:47:55 +01:00
fuzzers add a build variant for quickly building a corpus for code coverage 2019-04-30 21:55:17 +02:00
include/libtorrent fix GCC-9 warnings 2019-06-02 20:58:58 +02:00
m4 merged RC_1_1 into master 2016-12-20 01:16:13 -05:00
simulation Track the mapped port for each NAT mapping transport (#3793) 2019-04-22 01:50:44 +02:00
src set HTTP Host to request-target when using proxy 2019-07-01 10:17:20 +02:00
test Track the mapped port for each NAT mapping transport (#3793) 2019-04-22 01:50:44 +02:00
tools add fuzzers to the main repository 2019-04-19 08:26:54 +02:00
.doozer.json doozer macOS script simplification 2018-11-18 18:11:52 +01:00
.gitignore Add examples, tools, and python binding binaries to gitignore 2019-02-24 12:28:17 +01:00
.gitmodules add .gitmodules 2015-08-07 23:19:37 -04:00
.travis.yml ensure headers build independently 2019-05-13 11:56:03 -07:00
AUTHORS merged RC_1_1 into master 2018-04-13 01:47:41 +02:00
CMakeLists.txt forward port ssiloti's patch to make the BOOST_ASIO_ENABLE_CANCELIO define public 2019-03-22 21:30:24 +01:00
CONTRIBUTING.rst update changelog and update contributing document 2016-04-24 15:33:14 -04:00
COPYING update year in copyright header 2018-04-09 09:04:33 +02:00
ChangeLog bump version of RC_1_2 to 1.2.1 2019-04-28 03:31:04 +02:00
Jamfile ensure headers build independently 2019-05-13 11:56:03 -07:00
Jamroot.jam run clang tidy on travis 2018-07-24 21:37:37 +02:00
LICENSE Remove duplicate word in comments like "the the" 2019-02-24 12:28:17 +01:00
LibtorrentRasterbarConfig.cmake.in cmake: backport changes from the master branch 2018-10-31 00:17:36 +01:00
Makefile.am initial documentation for bundled support for fuzzing 2019-04-26 10:02:30 +02:00
NEWS polishing, update copyright 2014-07-02 07:17:50 +00:00
README.rst add lgtm quality badge 2018-11-17 23:35:31 +01:00
appveyor.yml minor lint oriented refactor, moved a couple of functions to aux 2019-03-11 14:38:26 +01:00
autotool.sh Fix autotool.sh warning if builddir exists 2017-01-14 09:19:23 -05:00
bootstrap.sh merged bootstrap.sh script from RC_0_16 2013-05-29 02:11:15 +00:00
build_dist.sh bump version of RC_1_2 to 1.2.1 2019-04-28 03:31:04 +02:00
clang_tidy.jam run clang tidy on travis 2018-07-24 21:37:37 +02:00
configure.ac bump required boost version in configure.ac to 1.58 2019-07-01 10:07:40 +02:00
libtorrent-rasterbar.pc.in merged fixes from RC_0_16 2013-09-07 21:27:07 +00:00
setup.py merged RC_1_1 into master 2018-04-04 15:28:33 +02:00
sonar-project.properties only analyze src/ and include/ 2017-09-13 10:47:18 +02:00

README.rst

libtorrent
----------

.. image:: https://travis-ci.org/arvidn/libtorrent.svg?branch=master
    :target: https://travis-ci.org/arvidn/libtorrent

.. image:: https://ci.appveyor.com/api/projects/status/w7teauvub5813mew/branch/master?svg=true
    :target: https://ci.appveyor.com/project/arvidn/libtorrent/branch/master

.. image:: https://doozer.io/badge/arvidn/libtorrent/buildstatus/master
	:target: https://doozer.io/user/arvidn/libtorrent

.. image:: https://img.shields.io/lgtm/alerts/g/arvidn/libtorrent.svg?logo=lgtm&logoWidth=18
	:target: https://lgtm.com/projects/g/arvidn/libtorrent/alerts/

.. image:: https://codecov.io/github/arvidn/libtorrent/coverage.svg?branch=master
    :target: https://codecov.io/github/arvidn/libtorrent?branch=master&view=all#sort=missing&dir=desc

.. image:: https://img.shields.io/lgtm/grade/cpp/g/arvidn/libtorrent.svg?logo=lgtm&logoWidth=18
	:target: https://lgtm.com/projects/g/arvidn/libtorrent/context:cpp

.. image:: https://sonarcloud.io/api/project_badges/measure?project=libtorrent&metric=alert_status
	:target: https://sonarcloud.io/dashboard?id=libtorrent

.. image:: https://sonarcloud.io/api/project_badges/measure?project=libtorrent&metric=security_rating
	:target: https://sonarcloud.io/dashboard?id=libtorrent

.. image:: https://sonarcloud.io/api/project_badges/measure?project=libtorrent&metric=sqale_rating
	:target: https://sonarcloud.io/dashboard?id=libtorrent

.. image:: https://www.openhub.net/p/rasterbar-libtorrent/widgets/project_thin_badge.gif
    :target: https://www.openhub.net/p/rasterbar-libtorrent?ref=sample

libtorrent is an open source C++ library implementing the BitTorrent protocol,
along with most popular extensions, making it suitable for real world
deployment. It is configurable to be able to fit both servers and embedded
devices.

The main goals of libtorrent are to be efficient and easy to use.

See `libtorrent.org`__ for more detailed build and usage instructions.

.. __: http://libtorrent.org

To build with boost-build, make sure boost and boost-build is installed and run:

   b2

In the libtorrent root. To build the examples, run ``b2`` in the ``examples``
directory.

See `building.html`__ for more details on how to build and which configuration
options are available. For python bindings, see `the python docs`__.

.. __: docs/building.rst
.. __: docs/python_binding.rst