Commit Graph

6 Commits (aae0227ee66ffbb3ddc507d0be89854c23bd88af)

Author SHA1 Message Date
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 daaee855b2 Whitespace fixes 16 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist ad5fa66737 Missing newline warning, missing include fixed 17 years ago
erdgeist 49c4bbb47f Have an own file handle udp requests. 17 years ago