Commit Graph

16 Commits (a3de74bdd447dc7c6f7501afc81af2f5ff319c1f)

Author SHA1 Message Date
Dirk Engling 6337649b08 V6 2009-01-13 22:41:16 +00:00
Dirk Engling b2ca164922 * 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:38 +00:00
Dirk Engling 545dab2c18 Tidy up unnecessary includes 2008-12-05 21:28:40 +00:00
Dirk Engling 7dcd727ce6 Whitespace fixes 2008-10-28 01:27:21 +00:00
Dirk Engling e767fae72a Introduce some kind of versioning 2007-12-20 05:59:34 +00:00
Dirk Engling 5be5e46f2a Add documentation to our uri scanner 2007-12-17 13:23:26 +00:00
Dirk Engling 2c3b4e3de7 Save a lot of work when skipping through uninteresting http request parameters 2007-10-18 23:33:07 +00:00
Dirk Engling 158ce4d616 Use signed size_t wherever appropriate 2007-01-31 09:50:46 +00:00
Dirk Engling 342e3a25c0 account downloaded before early returns 2007-01-27 16:06:13 +00:00
Dirk Engling afa05fad96 Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed 2007-01-11 01:06:10 +00:00
Dirk Engling a3ac795bec README\! 2007-01-05 00:00:41 +00:00
Dirk Engling aa444b6e18 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
Dirk Engling 7d1d51cc05 Now actually seems to work for the most parts
Added scraping
Added graceful disconnect
2006-12-14 02:44:50 +00:00
Dirk Engling 39c23f5f71 Fixed parser 2006-12-09 12:50:42 +00:00
Dirk Engling cc8c0a1df8 Some syntax errors removed 2006-12-08 20:28:17 +00:00
Dirk Engling d6b963d80a Our scanner routine for the URI query string 2006-12-08 19:20:51 +00:00