Commit Graph

8 Commits

Author SHA1 Message Date
Dirk Engling 0a45984246 Add functionality to distribute udp to several workers 2012-04-25 05:48:16 +00:00
Dirk Engling 648222e478 fix prototype 2012-04-01 03:22:15 +00:00
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 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 31dedcd9cf Missing newline warning, missing include fixed 2007-11-06 17:53:14 +00:00
Dirk Engling 26c23fdecd Have an own file handle udp requests. 2007-11-06 17:51:48 +00:00