Commit Graph

10 Commits (426c5f30c28b82fb9775e1de4cf1cfe5eeb3ae83)

Author SHA1 Message Date
erdgeist f3c0359876 Make header parsing more efficient, prepare multithreading and keep-alive. 15 years ago
erdgeist 65d7d9b89c Allow /stats to be located anywhere in your trackers path 16 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 8bdc0d73f6 Make opentracker ANSI C again. 16 years ago
erdgeist daaee855b2 Whitespace fixes 16 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist 31d876d53d Count invalid requests 17 years ago
erdgeist dafe5c9f6c add newline to end of file 17 years ago
erdgeist afea7d5ee2 Move http handling to its own sources 17 years ago