Commit Graph

9 Commits (master)

Author SHA1 Message Date
Dirk Engling e52170435f sync with git 5 years ago
Dirk Engling 0a45984246 Add functionality to distribute udp to several workers 11 years ago
Dirk Engling 648222e478 fix prototype 11 years ago
Dirk Engling 6337649b08 V6 15 years ago
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
15 years ago
Dirk Engling 7dcd727ce6 Whitespace fixes 15 years ago
Dirk Engling e767fae72a Introduce some kind of versioning 16 years ago
Dirk Engling 31dedcd9cf Missing newline warning, missing include fixed 16 years ago
Dirk Engling 26c23fdecd Have an own file handle udp requests. 16 years ago