72 Commits

Author SHA1 Message Date
Arvid Norberg 25c3db1ded run cppcheck on simulations. suppress false positives 2026-04-09 16:42:44 +02:00
Arvid Norberg d1bd7263a4 remove the bottled feature from http_connection. It's always enabled. 2026-03-07 08:14:19 +01:00
Arvid Norberg 28d1558c07 Merge branch 'RC_2_0' 2026-03-05 07:38:04 +01:00
Arvid Norberg 9ecebca6e2 fixup patch and remove unused test feature 2026-02-15 23:59:15 +01:00
tanawatra.c bf79a1a2b7 update SSL proxy connection tests to verify Host header format based on send_host_in_connect setting; ensure compliance with RFC 9110 and RFC 9112 2026-02-15 23:59:15 +01:00
arvidn 0465656c71 Merge branch 'RC_2_0' 2025-07-26 00:18:29 -07:00
Arvid Norberg 23388c17ff add option to send host header in HTTP proxy CONNECT command (#7710)
* add option to send host header in HTTP proxy CONNECT command

* land bearx3f's fix

* fixup
2025-07-18 08:04:57 +02:00
luzpaz 63373cf012 Fixes various typos
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
arvidn 964ffc57ba merge RC_2_0 into master 2022-06-23 08:07:28 +02:00
arvidn ed88357b4c merged RC_2_0 into master 2022-05-23 09:17:47 +02:00
arvidn be8313e35e merge RC_1_2 into RC_2_0 2022-05-22 14:17:25 +02:00
arvidn d78dc1c201 remove unused priority field in http_connection 2022-05-11 12:26:21 +02:00
arvidn f484a0eff6 rerun update_copyright.py 2021-12-07 21:13:48 +01:00
arvidn 2db8b54c08 update copyright headers in source files 2021-06-13 21:04:55 +02:00
Alden Torres 8ef08d23df moved netlink.hpp and ssl.hpp to aux 2021-01-16 17:25:45 +01:00
Alden Torres 999035a200 moved random.hpp to aux 2021-01-11 23:58:31 +01:00
Arvid Norberg 109eaea545 merged RC_2_0 into master 2020-12-06 17:39:59 +01:00
arvidn f726d10891 merged RC_1_2 into RC_2_0 2020-12-03 02:55:59 +01:00
arvidn c908c1026d add option to disallow IDNA tracker and web seed hostnames, and disallow them by default 2020-12-01 02:35:26 +01:00
Alden Torres a10911cdd5 replaced boost::optional with std::optional 2020-09-27 15:34:11 -07:00
Alden Torres 77b8746b7c moved http_connection.hpp to aux 2020-07-24 00:19:19 -07:00
arvidn a70a9bb4c6 Merge branch 'RC_2_0' 2020-07-21 20:26:30 +02:00
Arvid Norberg 2c518b3430 merge RC_1_2 into RC_2_0 2020-07-21 08:48:58 +02:00
Alden Torres 5a9dbb446b moved hash_picker.hpp and http_parser.hpp to aux 2020-07-20 03:27:00 -07:00
arvidn fa6ce35663 don't use system error code for connection timeout in high level timeout mechanism, to be able to tell the difference 2020-07-19 09:50:30 -07:00
Paul-Louis Ageneau 73b2fd68cf Introduced TORRENT_USE_SSL compilation flag 2020-05-08 20:57:12 +02:00
Alden Torres d91e749fc0 moving resolver related types and files to aux 2020-03-23 16:46:04 -07:00
arvidn 76fe4d370f merged RC_1_2 into master 2020-03-21 22:41:35 +01:00
arvidn 4fd6136b2a improve support for SSL connections. make passing in the SSL context into the http_connection mandatory (simplifying it, so it doesn't have to create its own). Sepaate the SSL context used for trackers and SSL torrents, so normal trackers can be validated, without interfering with the special SNI callback used for SSL torrents 2020-03-21 12:28:49 -07:00
arvidn 07971cd3e5 unify the internal namespace to be called aux, not detail 2019-08-29 00:15:07 +02:00
arvidn 87a689a0ad merged RC_1_2 into master 2019-03-30 17:22:46 +01:00
arvidn 64600f444b improve sanitizer rule in Jamfile. Some fixes for new clang sanitizr 'implicit-conversion' 2019-03-26 10:14:06 +01:00
arvidn 3494961a68 some work on getting simulations to work 2019-02-11 20:19:08 +01:00
arvidn d140d1e20d update addresses 2019-02-11 20:19:08 +01:00
arvidn eab1055938 more warnings on appveyor 2018-11-18 11:49:45 +01:00
Arvid Norberg 6efff919cd deprecated alert::progress_notification alert category, split into finer grained categories 2018-04-05 16:27:28 +02:00
arvidn 4bc93cff38 merge RC_1_1 into master 2017-11-23 18:01:32 +01:00
arvidn 5e7666526e fix IPv6 tracker announce issue 2017-11-23 10:11:59 +01:00
arvidn 95c8c3018a use span in gzip, http_parser and http_connection 2017-09-04 22:33:38 +02:00
arvidn c4afb5e949 use a dedicated class template for flags types instead of enum class. It's more backwards compatible and improves ergonomics 2017-07-15 01:15:57 -07:00
arvidn afce0d3a86 make resolver_flags use enum class for improved type-safety 2017-05-29 18:38:59 -04:00
arvidn e0fa1cd247 merged RC_1_1 into master 2017-05-12 21:46:45 -04:00
Jan Berkel b3815c5533 HTTP proxy: avoid connecting to itself (#1978) 2017-05-08 11:04:17 -04:00
arvidn b1b4360df6 merged RC_1_1 into master 2017-05-08 07:48:42 -04:00
Jan Berkel fe9f877087 Set connection timeout when next endpoint is tried (#1952) 2017-05-04 17:32:47 -04:00
Steven Siloti fd50630020 announce to trackers for all listen interfaces 2017-04-30 08:11:56 -04:00
arvidn d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
arvidn 6c805bd06d simplify print statements in tests 2016-10-09 20:23:45 -04:00
arvidn 9453fbd54b merged RC_1_1 into master 2016-10-09 20:09:44 -04:00
Arvid Norberg 6bb2d7c017 Sanitize 1.1 (#1197)
enable address sanitizer
2016-10-09 17:00:20 -04:00