Commit Graph

44 Commits (git.mgm/mediaproxy-ng/2.0)

Author SHA1 Message Date
Richard Fuchs 3cb203a11a add debian buildflags and address generated warnings
14 years ago
Richard Fuchs ed46c250ef check struct sizes and offsets exported by redis plugin
14 years ago
Richard Fuchs 7fa39e50d9 be a lazy developer and try to load the .so locally
14 years ago
Richard Fuchs 4da3a8050d its always nice to call openlog()
14 years ago
Richard Fuchs 22083298b9 a more robust thread shutdown procedure
14 years ago
Richard Fuchs 2832dadc00 since xmlrpc is still segfaulting even in its own process, disable core dumps in the child and retry the xmlrpc call up to 3 times if the child terminates abnormally. jumping through hoops ftw!
14 years ago
Richard Fuchs 5e63928da4 xmlrpc still segfaulting. leaves no choice but to fork out a new process, ugh.
14 years ago
Richard Fuchs 41da40f2f7 xmlrpc calls still causing segfaults, lets try with a dedicated client object per call... i'm starting to dislike this library
14 years ago
Richard Fuchs c5693b65a4 dont block fatal core-dumping signals
14 years ago
Richard Fuchs de7ef884fa and for the interesting part: multiple poller threads
14 years ago
Richard Fuchs c44673113d move poller timers and polling into a separate thread
14 years ago
Richard Fuchs 0eb3694422 making main() pretty by moving stuff out of the way
14 years ago
Richard Fuchs e5aa11aa6b global xmlrpc init must be done prior to any threading
14 years ago
Richard Fuchs c8c2928cef it makes no sense to return a value from an effectively detached thread
14 years ago
Richard Fuchs c5aa1e33f4 detached threads considered harmful, so simulate them by keeping a threads-to-join list
14 years ago
Richard Fuchs 61ffa69282 use sigtimedwait for proper sighandler thread shutdown
14 years ago
Richard Fuchs 5cecf39605 lets get some threads going then, starting with a signal handler
14 years ago
Richard Fuchs c19b99903c lets try with a lot of large, nested, naive locks
14 years ago
Richard Fuchs 9fecc4d153 make the callmaster struct private - also requires update to redis module
14 years ago
Richard Fuchs 86a4cc8876 add appropriate threading compile flags
14 years ago
Richard Fuchs 89fb0c42c4 update .so name to match .deb
14 years ago
Richard Fuchs 8f94668a72 log version upon startup
14 years ago
Richard Fuchs f775df551c separate redis code from main code - modularize!(tm)
14 years ago
Richard Fuchs 7b6c8db4f5 add --b2b-url CLI parameter
14 years ago
Richard Fuchs 29f66f8f0d create a cli flag to disable automatic fallback to userspace if desired
14 years ago
Richard Fuchs a23fe2f7b6 Fall back to userspace forwarding if kernel module is unavailable
14 years ago
Richard Fuchs 534f4be7e6 compile debian package version into all 3 components at build time
14 years ago
Richard Fuchs 0c23b07db6 ignore user-supplied addresses and use proxy-supplied hints as only determining factor between ipv4 and ipv6
14 years ago
Richard Fuchs 9e1c90adb9 inet_pton is anal, so gotta work around that
14 years ago
Richard Fuchs 8bc2f0505d support command-line ipv6 addresses given in [] format
14 years ago
Richard Fuchs e6e151bdd4 and while we're at it, add support for ipv6 on the udp control protocol as well
14 years ago
Richard Fuchs ccfc13437c it helps to actually make use of new command line params. basic RTP forwarding testing OK now for both ipv4 and ipv6
14 years ago
Richard Fuchs e0eb0488f8 add ipv6 command line options
14 years ago
Richard Fuchs d05f5831d4 add the ipv6 logic to the userspace daemon.
14 years ago
Richard Fuchs 5142f39e12 add --version switch
15 years ago
Richard Fuchs 0fd9e0dae4 Create compile-time option ("make no-redis") to eliminate all redis-related code from binary
15 years ago
Richard Fuchs c5bbe059ae redis connect and restore procedure - STUBS
15 years ago
Richard Fuchs 4a86ab734c determine master/slave status on startup
15 years ago
Richard Fuchs cffb385bcf rudimentary redis handling and some die message fixes
15 years ago
Richard Fuchs 3ae125aa91 introduce --advertised-ip parameter
15 years ago
Richard Fuchs fd623f2754 add port-min and port-max parameters
15 years ago
Richard Fuchs c3ad30063d implement delete UDP command
15 years ago
Richard Fuchs b6370bf556 First step in implementation of UDP control protocol - untested/unfinished
15 years ago
Richard Fuchs 593121d551 create tags and branches
15 years ago