summaryrefslogtreecommitdiff
path: root/ot_udp.h
AgeCommit message (Collapse)Author
22 hoursWith more workers blockingly waiting on udp sockets, we need to keep track of all sockets to shut them down on exitDirk Engling
28 hoursPerformance improvement, where it works: Let different udp worker threads have their own socketDirk Engling
4 daysDecouple config parsing from binding and worker spawningDirk Engling
* Options are parsed now into a listener description list before binding them at once and starting the workers later * UDP workers can now be configured per connection * socket reuse is now done more sensibly, mcast sockets always reused * Hold-off logic after spawning udp workers removed
5 daysmake all headers self containingDirk Engling
5 daysReplace custom int64 with its standardized int64_t typeDirk Engling
11 daysHold off starting udp workers until trackerlogic finished initialisingDirk Engling
2024-04-15clang-formatDirk Engling
2017-04-28Get rid of some warnings regarding header guardsDirk Engling
2012-04-25Add functionality to distribute udp to several workerserdgeist
2012-04-01fix prototypeerdgeist
2009-01-13V6erdgeist
2009-01-05* 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 ↵erdgeist
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
2008-10-28Whitespace fixeserdgeist
2007-12-20Introduce some kind of versioningerdgeist
2007-11-06Missing newline warning, missing include fixederdgeist
2007-11-06Have an own file handle udp requests.erdgeist