Commit Graph

17 Commits (959e0912a16678f996a3fb6ca4bceb2efff4b1ce)

Author SHA1 Message Date
Dirk Engling d4598cc930 Get rid of some warnings regarding header guards
erdgeist 131211b4da V6
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
erdgeist 5fb58458f6 Tidy up unnecessary includes
erdgeist daaee855b2 Whitespace fixes
erdgeist c28cf398fd Introduce some kind of versioning
erdgeist 0cfd1e575d Add documentation to our uri scanner
erdgeist b86e6382a1 Save a lot of work when skipping through uninteresting http request parameters
erdgeist 6e1ee92de6 Use signed size_t wherever appropriate
erdgeist c094695add account downloaded before early returns
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