Commit Graph

28 Commits (6d4845149c9c2f96d038ba41fcad6fedd378ae4c)

Author SHA1 Message Date
erdgeist 5fb58458f6 Tidy up unnecessary includes
erdgeist daaee855b2 Whitespace fixes
erdgeist e534db03c6 added live sync code
added a config file parser
added tracker id
changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK
changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE
added an option to switch off fullscrapes

cleaned up many internal hardcoded values, like PROTO_FLAG,
erdgeist c28cf398fd Introduce some kind of versioning
erdgeist 0cfd1e575d Add documentation to our uri scanner
erdgeist 72c72bb3a1 I accidently put space on the list of non-terminating characters...
erdgeist ab9246618b some clients chose to accidently send negative numwants
erdgeist 3b042b838a Be really relaxed now about what to accept in values...
erdgeist 286c17e7a9 Allow @ in values. This seems to fix some clients
erdgeist 23e484e13a Allow = in values. This seems to fix some clients
erdgeist b86e6382a1 Save a lot of work when skipping through uninteresting http request parameters
erdgeist dba3bb3ae7 Make fromhex() even faster
erdgeist 243d5961d0 fixed one performance bug, where "skipping values from a &param=values pair" was requested, the requestor ended up with "values" to be parsed again.
improved performance of fromhex
improved performance of is_unreserved() by moving it all into a simple byte array
improved performance of %41 => 'A' conversion by reordering variables
erdgeist 5c18293c9c New Makefile, incorporated some patches sent to me by Robin H. Johnson
erdgeist f1359eb652 Some clients even send plain : in their requests
erdgeist 6e1ee92de6 Use signed size_t wherever appropriate
erdgeist c094695add account downloaded before early returns
erdgeist bcef9d56a4 Allowing more relaxed parsing of queries
erdgeist d7c00a909b Do not write, if no string is passed
denis 99c1ba1896 support for questionmark in URL behind the initial one
erdgeist bee4ad4ba0 Now allow * in torrents
erdgeist 805e46450c Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed
erdgeist cdf2fbabed README\!
erdgeist e0a9c2a4aa Added option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer -> this may remove peer already and must be done anyway.
erdgeist 688a4edd9e Now actually seems to work for the most parts
Added scraping
Added graceful disconnect
erdgeist 0de82a8925 Fixed parser
erdgeist 898206ac7a Some syntax errors removed
erdgeist 2adf4fb28a Our scanner routine for the URI query string