Commit Graph

70 Commits

Author SHA1 Message Date
Arvid Norberg 1e15054e0e treat redirect locations slightly more graceful 2009-12-05 22:10:44 +00:00
Arvid Norberg 1f5859d31f error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes 2009-11-29 07:06:38 +00:00
Arvid Norberg d16a5d855e fixed assert in http_connection 2009-09-18 19:55:41 +00:00
Arvid Norberg 45fd696bc6 added I2P support 2009-08-20 03:19:12 +00:00
Arvid Norberg 5b604e2a3a timer fixes for http_connection 2009-07-26 02:17:21 +00:00
Arvid Norberg 79bc0070db fixed race condition in UPnP which could lead to crash 2009-06-30 03:31:58 +00:00
Arvid Norberg 07bcb3545a converted a whole lot of error strings into error_codes. Documented some previously undocumented alerts as well as all the error codes 2009-06-12 16:40:38 +00:00
Arvid Norberg 8256a5628d fixed typo when using TORRENT_USE_OPENSSL 2009-06-09 15:43:56 +00:00
Arvid Norberg 9effe8a54a fixed deadlock in http_connection. added two error codes for that class. Added more documentation on error_code 2009-05-30 18:50:38 +00:00
Arvid Norberg 437cb94fd0 improved IPv6 support by announcing twice when necessary 2009-05-15 21:23:41 +00:00
Arvid Norberg 58b053bfdf replaced stringstream with sprintf in http_connection 2009-04-12 09:00:16 +00:00
Arvid Norberg 370acde32a port number string conversion fix 2009-04-11 00:14:49 +00:00
Arvid Norberg 6ff2b1b2d4 fixed potential http compatibility issue 2009-02-27 09:03:05 +00:00
Arvid Norberg 561fcd5748 formatting change 2009-02-11 08:16:14 +00:00
Arvid Norberg 90b3006d22 fixed bug when talking to https 1.0 servers 2009-02-11 07:54:16 +00:00
Arvid Norberg 8030454c96 fixes problem whith lexical_cast being locale dependent 2009-01-27 06:17:55 +00:00
Arvid Norberg 8d6c1527ae fixed bug in http_connection when binding to a particular IP 2009-01-19 22:17:48 +00:00
Arvid Norberg 96a771ef8b only accept gzip encoding for bottled http requests 2008-12-29 07:31:33 +00:00
Arvid Norberg 4bd0d2d2e6 added resolver cancellation to http_connection and udp_socket. might prevent potential shutdown stalls 2008-12-20 18:27:09 +00:00
Arvid Norberg a54c3fc0e7 added space after Host: http header 2008-12-04 21:44:21 +00:00
Arvid Norberg 6519660372 add port number of host field in http requests 2008-11-29 23:00:57 +00:00
Arvid Norberg 8c0165b5c4 removed incorrect assert 2008-10-31 23:14:36 +00:00
Arvid Norberg dc6564fa11 applies ip filter to trackers as well 2008-10-22 19:40:32 +00:00
Arvid Norberg 41d5abf0d8 exception related fixes. Avoiding functions that may throw in places where exceptions shouldn't be thrown 2008-10-21 08:45:42 +00:00
Arvid Norberg 3d75732145 changed variant_stream to return a pointer instead of a reference when querying for underlying type (avoids exceptions) 2008-10-18 07:12:04 +00:00
Arvid Norberg e109b64b27 fixed bug when contacting an HTTP/1.0 web server that used gzip compression 2008-10-10 04:19:56 +00:00
Arvid Norberg d2b37572fa disable endpoint sorting in http_connection for msvc, since it ICEs the compiler. Fixes #361 2008-07-03 10:05:19 +00:00
Arvid Norberg 0afe661d5a fixed http_connection assert 2008-06-07 17:47:05 +00:00
Arvid Norberg c5d61667b3 http_connection now supports connecting to all IPs a hostname resolves to, as fallbacks 2008-05-18 22:14:55 +00:00
Arvid Norberg b952d85734 fixed error handling and added support for relative http redirects (which aren't allowed by the standard) 2008-05-18 04:48:06 +00:00
Arvid Norberg 7f639e57de improved error handling with regards to parse_url_components. For trunk, moved that function to its own file 2008-05-17 14:19:34 +00:00
Arvid Norberg 5ec7da07e6 fixes #332 2008-05-17 00:27:26 +00:00
Arvid Norberg c7e6c04705 switched over to asio from boost-1.35 2008-05-03 16:05:42 +00:00
Arvid Norberg 2cfbfd203f made tests build and pass in trunk. fixed issues in trunk revealed by the tests. fixed failing torrent invariant check in trunk and rc0.13 2008-03-14 10:17:27 +00:00
Arvid Norberg 0e4d62497b fixed typo in previous check-in 2008-03-12 07:56:45 +00:00
Arvid Norberg cd65fb8b0c added priority to connection queue. trackers and upnp connections have higher priority than peers 2008-03-12 07:44:27 +00:00
Arvid Norberg 0c51e822f5 fixes #270 2008-02-17 23:49:03 +00:00
Arvid Norberg 3562c3e646 add bind address support to http_connection and replace http_tracker_connection's code with http_connection 2008-01-31 08:24:01 +00:00
Arvid Norberg 6caca17883 refactored gzip code and added gzip support to http_connection 2008-01-30 18:32:13 +00:00
Arvid Norberg 61bbc6e58f initial https support for trackers and http_connection. Added support for proxies to http_connection 2008-01-27 22:39:50 +00:00
Arvid Norberg 81302c8fed fixed http_connection redirection support and added test (still requires lighttp) 2008-01-12 01:41:56 +00:00
Arvid Norberg ed4b39a2cc made http_connection build without exception support 2007-12-29 23:37:50 +00:00
Arvid Norberg 6c42830f97 made http_parser not use exceptions 2007-12-29 18:24:50 +00:00
Arvid Norberg 7cae5f897b fixed http_connection error handling and improved http parser 2007-12-12 19:29:19 +00:00
Arvid Norberg 9727634f09 added base32encode and moved it into escape_string.hpp 2007-12-02 18:34:37 +00:00
Arvid Norberg a1a841a04d http_connection fixes and unit test (not self contained yet, just like test_web_seed) 2007-11-18 04:12:35 +00:00
Arvid Norberg b832fdb48a http_connection shutdown fixes 2007-11-15 23:55:30 +00:00
Arvid Norberg 966800cd5b replaced the assert macro to TORRENT_ASSERT instead of hi-jacking assert. 2007-10-05 00:30:00 +00:00
Arvid Norberg ab70e4e9c1 fix to http_connection 2007-10-03 22:23:18 +00:00
Arvid Norberg d48236a738 changed http_parser slightly. uses http_parser in lsd.cpp. added more tests to the http_parser 2007-09-25 03:14:05 +00:00