Richard Fuchs
24a6815e87
preliminary attempt to make the udp controller thread-safe
14 years ago
Richard Fuchs
2b63e794df
Prepare for multi-threaded operation
...
Introduce generic "objects" with reference counting primitives and automatic
resource deallocation when no refs are left ("garbage collection"). Overhaul
poller framework to make extensive use of these objects to allow for future
thread-concurrent operation.
No locking added anywhere yet except in poller. Poller is still not 100%
thread safe, but close.
Valgrind reports no errors or memleaks.
14 years ago
Richard Fuchs
2ea4a70bf4
running out of vector space...
14 years ago
Richard Fuchs
28b90b385e
add fromtag and totag to D udp command
14 years ago
Richard Fuchs
77e7ca68bc
add numbered comments to pcre
14 years ago
Andreas Granig
d8e382fe44
Adapt regex for deletion.
14 years ago
Andreas Granig
fb72957594
Cleanup regex result indexing and add via branch.
...
- Use defines to index regex results.
- Add optional viabranch suffixed to call-id (WIP).
14 years ago
Richard Fuchs
d3dca330fa
Compile fixes in daemon for Debian etch
14 years ago
Richard Fuchs
1b93bdb9b7
fix handling of calls with multiple concurrent media streams
14 years ago
Richard Fuchs
4b30d4f4d3
Use [] when printing IPv6 addresses where appropriate
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
5d9cb37f1f
another fallback RE fix
14 years ago
Richard Fuchs
1705630c78
make the fallback RE work
14 years ago
Richard Fuchs
39578affdf
be a bit stricter with ipv4-in-ipv6 notation
14 years ago
Richard Fuchs
2352143d69
poor man's character case insensitivity
14 years ago
Richard Fuchs
61967c1d32
convert some macros to inline functions
14 years ago
Richard Fuchs
2a24d2d385
make the fallback RE even more liberal and fix broken RE substring indexes
14 years ago
Richard Fuchs
d05f5831d4
add the ipv6 logic to the userspace daemon.
...
problems with this:
1) not pretty
2) most certainly doesn't work
3) only compiles with no-redis
4) not pretty and most certainly doesn't work
14 years ago
Richard Fuchs
d6c60a8c3b
implement fallback pcre for unparsable udp commands
14 years ago
Richard Fuchs
31c9ea98a4
move the evil global variables into the context structure
14 years ago
Richard Fuchs
c9f4ee6369
implement a simple but effective timeout/cleanup mechanism for udp cookies
14 years ago
Richard Fuchs
4031ea92d0
fine-tune the regexp a bit more, just in case...
14 years ago
Richard Fuchs
c7488f9bef
fix a long-standing bug that caused from/to tags to be ignored when using UDP protocol
14 years ago
Richard Fuchs
c7635d4365
use G_N_ELEMENTS from glib instead of ARRAY_SIZE
15 years ago
Richard Fuchs
64ead317e2
implement version querying
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