Commit Graph

27 Commits

Author SHA1 Message Date
arvidn efe32c6a0e rewrite most of web_peer_connection::on_receive to make it a lot simpler and fix edge cases with pad-files 2016-01-28 01:58:33 -05:00
arvidn 0f760d3fb4 expand tracker unit test to assert the session correctly receives the right peers 2015-08-29 16:04:35 -04:00
arvidn 94e41538b6 fix SSL web-seed test 2015-07-16 00:44:03 -04:00
Chocobo1 a59d1d3240 Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line 2015-07-12 14:24:01 +08:00
arvidn 82bb923096 fix python typo 2015-07-08 00:05:13 -04:00
arvidn c5614b691f export file_progress class when building unit tests. fix to web_server.py (used for unit tests) 2015-07-07 23:46:33 -04:00
arvidn 08016494a9 split up test_http_connection into smaller test cases 2015-06-21 12:41:50 -04:00
Arvid Norberg 1b9b6f7292 support http basic auth in http_connection passed in from the outside as opposed to part of the url 2015-02-08 16:03:09 +00:00
Arvid Norberg b56b3613fe some debug output in web_server.py 2015-01-11 07:45:06 +00:00
Arvid Norberg 7761cba38a fix web_seed unit test 2015-01-09 14:02:48 +00:00
Arvid Norberg 2eab21b0ac attempted fixes for windows unit tests 2015-01-09 00:41:19 +00:00
Arvid Norberg c2e5df57b5 extend http_connection unit test to cover no keep-alive 2015-01-05 16:17:23 +00:00
Arvid Norberg 290260054d fix http restart-piece bug whose fix apparently failed to merge from RC_1_0 a long time ago. Also improve logging of restart pieces 2015-01-03 13:09:09 +00:00
Arvid Norberg 2b7bef0f7b fix support for web servers not supporting keepalive 2014-06-15 18:02:59 +00:00
Arvid Norberg 6c22d426d4 make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts) 2014-02-05 09:38:32 +00:00
Arvid Norberg ad635c7081 we're not always supposed to gzip test_file in web_server.py (unit test) 2014-01-22 04:05:23 +00:00
Arvid Norberg 8bf283c7fe fix test_http_connection for windows 2014-01-22 02:59:09 +00:00
Arvid Norberg 41693bfa97 fix windows support in web_server.py for unit tests 2014-01-21 09:34:51 +00:00
Arvid Norberg 65a847fd43 open files in binary mode in unit test web server (may fix some issues on windows) 2014-01-21 00:04:52 +00:00
Arvid Norberg 3c5ec23480 add timeout to web_server.py for unit tests (it doesn't seem to die on windows otherwise) 2013-11-06 04:05:13 +00:00
Arvid Norberg ec87fb2968 don't try to close connections in web_server.py (to may cause exceptions when using ssl) 2013-11-05 00:25:49 +00:00
Arvid Norberg 5d149e2d0a fix web_seed_chunked test 2013-11-04 21:08:19 +00:00
Arvid Norberg c147caca0d fix ssl issue in web_server.py 2013-11-04 10:06:14 +00:00
Arvid Norberg 5fcd1237f0 fix race condition of closing http socket in web_server.py 2013-11-04 05:48:40 +00:00
Arvid Norberg 2ce6b83a8e restore web_server.py 2013-11-04 01:35:57 +00:00
Arvid Norberg 236acfce27 merged completed-on fix from RC_0_16 2013-11-04 01:32:16 +00:00
Arvid Norberg b4aad2a481 move web_server for unit tests over to python 2013-11-03 08:15:51 +00:00