1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-12 16:00:06 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Dirk Engling
7c633c259e clang-format 2024-04-15 00:39:02 +02:00
Dirk Engling
d4598cc930 Get rid of some warnings regarding header guards 2017-04-28 15:41:24 +02:00
erdgeist
131211b4da V6 2009-01-13 22:41:17 +00:00
erdgeist
779d6c235f * http and udp routines now use thread local buffers passed in workstruct containers. In other words they do not use static_buffer anymore and are considered to be thread safe.
* the new workstruct also introduces a well defined buffer and result passing path
* a new function scan_find_keywords is a wrapper around scan_urlencoded_query that maps keys in url to values passed in an array of ot_keywords structs
* this new function cleans up much of url parameter parsing work, where read_ptr and write_ptr have been introduced rather than the confusing char *c, *data variables
* I now use memcmp instead of byte_diff to allow compiler to optimize constant size string compares
* got rid of UTORRENT_1600_WORKAROUND
* livesync_ticker is now only called from one (currently main) thread to avoid race conditions
2009-01-05 18:05:39 +00:00
erdgeist
5fb58458f6 Tidy up unnecessary includes 2008-12-05 21:28:40 +00:00
erdgeist
daaee855b2 Whitespace fixes 2008-10-28 01:27:22 +00:00
erdgeist
c28cf398fd Introduce some kind of versioning 2007-12-20 05:59:34 +00:00
erdgeist
0cfd1e575d Add documentation to our uri scanner 2007-12-17 13:23:27 +00:00
erdgeist
b86e6382a1 Save a lot of work when skipping through uninteresting http request parameters 2007-10-18 23:33:07 +00:00
erdgeist
6e1ee92de6 Use signed size_t wherever appropriate 2007-01-31 09:50:46 +00:00
erdgeist
c094695add account downloaded before early returns 2007-01-27 16:06:13 +00:00
erdgeist
805e46450c Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed 2007-01-11 01:06:10 +00:00
erdgeist
cdf2fbabed README\! 2007-01-05 00:00:42 +00:00
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. 2007-01-03 05:11:48 +00:00
erdgeist
688a4edd9e Now actually seems to work for the most parts
Added scraping
Added graceful disconnect
2006-12-14 02:44:50 +00:00
erdgeist
0de82a8925 Fixed parser 2006-12-09 12:50:42 +00:00
erdgeist
898206ac7a Some syntax errors removed 2006-12-08 20:28:17 +00:00
erdgeist
2adf4fb28a Our scanner routine for the URI query string 2006-12-08 19:20:51 +00:00