Commit Graph

4783 Commits

Author SHA1 Message Date
Denis Ryabov
066435719d limit refreshes per tick to refresh_per_tick_limit=20, fix boost::ref(item) 2014-07-08 13:56:42 +04:00
Denis Ryabov
61b057175f wait 1 minute before start refreshing 2014-07-08 13:16:30 +04:00
Denis Ryabov
43c84cae6c fix logic 2014-07-08 13:03:08 +04:00
Denis Ryabov
3b0294497b now it works 2014-07-08 12:54:36 +04:00
Denis Ryabov
dc275c0b29 fix saving of dht item 2014-07-08 01:44:27 +04:00
Denis Ryabov
8429d95dba suggestion for DHT refresh 2014-07-08 01:37:34 +04:00
Denis Ryabov
6c4c656be4 faster DHT refresh 2014-07-05 16:13:41 +04:00
miguelfreitas
e15a0b17bb Merge pull request #203 from djmaze/docker-integration
Add improved Dockerfile with wrapper script for seamless upgrades
2014-07-03 10:11:55 -04:00
Martin Honermeyer
915bebd288 [docker] Use twisterd commandline as ENTRYPOINT instead of CMD
- allows running the container with additional command line parameters
2014-07-03 00:31:49 +02:00
Martin Honermeyer
6fd09eba18 Rename docker-container script to twister-on-docker 2014-07-02 21:00:14 +02:00
Martin Honermeyer
9eaf6ebc3b Pull the newest image before running Twister from the remote docker image 2014-07-02 21:00:14 +02:00
Martin Honermeyer
2689a5af88 Add improved Dockerfile with wrapper script for seamless upgrades 2014-07-02 21:00:14 +02:00
Miguel Freitas
7f0f1a96af more consistency checks to dhtproxy (client) 2014-07-02 09:02:24 -03:00
Miguel Freitas
505e4c80d5 0.9.22 2014-07-01 23:25:32 -03:00
Miguel Freitas
aac651390f if dhtproxy is enabled we may need to manually obtain peer lists from trackers 2014-07-01 23:22:35 -03:00
Miguel Freitas
db62634635 return the peer list received from the tracker in dhtget 2014-07-01 21:44:43 -03:00
Miguel Freitas
5c203adea3 apply upstream fix by Arvid
http://sourceforge.net/p/libtorrent/code/10056/
2014-07-01 08:24:07 -03:00
Miguel Freitas
17641de17a Revert commit in order to apply the upstream fix.
Revert "don't rely on m_connection_ticket: if we have two "on_connect" in a row,"
This reverts commit 241291be70.
2014-07-01 07:59:47 -03:00
Miguel Freitas
241291be70 don't rely on m_connection_ticket: if we have two "on_connect" in a row,
without their "on_connected" in between, the shared variable doesn't work
since the first ticket is lost. the result is a pending timeout which is
never canceled (done called with -1) and libtorrent crashes.
2014-06-29 21:47:35 -03:00
Miguel Freitas
0385f0d875 this hack was wrong. lets fix it properly this time... 2014-06-29 21:43:22 -03:00
Miguel Freitas
7474196b44 require http authentication for static html pages as well.
should help browsers being less confused than just requiring it for RPC.
2014-06-28 08:26:56 -03:00
Miguel Freitas
025c061415 dhtput should have a higher cost, as it lacks active limit check. 2014-06-27 21:11:56 -03:00
Miguel Freitas
e52f2c2527 dhtproxy: tunnel DHT traffic into TCP connections 2014-06-26 16:38:43 -03:00
Miguel Freitas
068a43211a less verbose by default 2014-06-25 19:23:29 -03:00
Miguel Freitas
0bd6bc4807 remove deprecated putData function from libtorrent 2014-06-25 18:42:33 -03:00
Miguel Freitas
5af649a58a add consistency checks to node_impl::putDataSigned and a flag to mean that locally generated content should be kept for periodic refresh. 2014-06-25 17:47:44 -03:00
Miguel Freitas
7651134016 move dhtput signing to outside libtorrent.
old function (ses->dht_putData) is likely to be removed, i can't think of any use for it right now.
2014-06-25 16:28:50 -03:00
Miguel Freitas
67fd2184cd refactor m_dhtgetMap with 3 helper functions. now allow multiple listeners per targethash. 2014-06-25 14:44:12 -03:00
miguelfreitas
5a2b4dd3ff Merge pull request #223 from thierry-FreeBSD/master
Adding a Makefile for FreeBSD, without using the bundled leveldb
2014-06-23 10:48:32 -04:00
thierry-FreeBSD
e3ce8e18b7 Do not define be32dec / le32dec on FreeBSD, since they are already defined in sys/endian.h 2014-06-22 16:20:29 +02:00
thierry-FreeBSD
09d2cf44fb Adding a Makefile for FreeBSD, without using the bundled leveldb 2014-06-22 16:06:00 +02:00
Miguel Freitas
2d23677f40 use shared_ptr for libtorrent::session. fix #217. 2014-06-20 16:38:49 -03:00
miguelfreitas
e3ab5f8d5d Merge pull request #219 from moldcraft/patch-1
Fixed invalid Dockerfile link
2014-06-20 09:47:52 -04:00
moldcraft
026d08cf79 Fixed invalid Dockerfile link for docker 2014-06-20 12:22:57 +03:00
Miguel Freitas
1e6f152de0 Merge branch 'master' of github.com:miguelfreitas/twister-core 2014-06-03 17:36:01 -03:00
miguelfreitas
1fce73fd0e Merge pull request #209 from digital-dreamer/rss-fix-time_t
Properly escape xml characters
2014-06-03 16:35:22 -04:00
Miguel Freitas
3931001e9b fix getpost memory leak. fixes miguelfreitas/twister-html#161 2014-06-03 17:29:03 -03:00
Miguel Freitas
adbdd709b4 update old makefiles as well 2014-06-03 17:14:20 -03:00
miguelfreitas
d9dfa19c6f Merge pull request #208 from digital-dreamer/rss-fix-time_t
RSS addition - fix for 32bit systems
2014-06-03 16:09:44 -04:00
digital dreamer
a5f670ed96 properly escape xml characters 2014-06-03 22:05:40 +02:00
digital dreamer
87e4b60008 fix possible compile error with implicit time_t conversion 2014-06-03 19:31:44 +02:00
Miguel Freitas
4c5c9cf3fc safe fallback when boost-regex is not found 2014-06-03 12:04:28 -03:00
miguelfreitas
3d0519adfa Merge pull request #204 from digital-dreamer/rss
RSS feed support
2014-06-03 10:20:05 -04:00
digital dreamer
a6505ddcf9 use twister.conf argument to enable direct messages 2014-06-03 09:17:33 +02:00
Miguel Freitas
e10250e0c7 preparing documentation to remove the hardcoded user/pwd from twister-html 2014-06-02 19:16:42 -03:00
Miguel Freitas
08cdee8999 contrib update 2014-06-02 18:58:31 -03:00
Miguel Freitas
8f03692074 wait twister threads to finish before destroying libtorrent session object.
may fix #200.
2014-06-01 18:03:15 -03:00
digital dreamer
bb544a21b4 parse query as parameter map 2014-05-31 10:59:09 +02:00
digital dreamer
cc13358b73 rss authentication 2014-05-30 12:41:16 +02:00
digital dreamer
80a60a2095 add RSS support 2014-05-25 18:10:52 +02:00