Commit Graph

17 Commits (298fe52f520ed42ba80c952a5e39a380a9e47644)

Author SHA1 Message Date
Dirk Engling d4598cc930 Get rid of some warnings regarding header guards 8 years ago
erdgeist 131211b4da V6 16 years ago
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
16 years ago
erdgeist 5fb58458f6 Tidy up unnecessary includes 16 years ago
erdgeist daaee855b2 Whitespace fixes 16 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist 0cfd1e575d Add documentation to our uri scanner 17 years ago
erdgeist b86e6382a1 Save a lot of work when skipping through uninteresting http request parameters 17 years ago
erdgeist 6e1ee92de6 Use signed size_t wherever appropriate 18 years ago
erdgeist c094695add account downloaded before early returns 18 years ago
erdgeist 805e46450c Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed 18 years ago
erdgeist cdf2fbabed README\! 18 years ago
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. 18 years ago
erdgeist 688a4edd9e Now actually seems to work for the most parts
Added scraping
Added graceful disconnect
18 years ago
erdgeist 0de82a8925 Fixed parser 18 years ago
erdgeist 898206ac7a Some syntax errors removed 18 years ago
erdgeist 2adf4fb28a Our scanner routine for the URI query string 18 years ago