Richard Fuchs
7787ad3b28
reorder headers and fix resulting errors
12 years ago
Richard Fuchs
2b60a82e36
more mass deployment of the new "str" object - does this thing still work? now really?
13 years ago
Richard Fuchs
60da1bc445
mass deployment of the new "str" object - does this thing still work?
13 years ago
Richard Fuchs
be4a6c7d58
make my life easier with a smart_ntop_port() function
13 years ago
Richard Fuchs
3a30e186c4
dont use RE_UDP_ macros for indexes into the fallback RE
13 years ago
Richard Fuchs
4700a6dea0
split generic udp receiving code into udp_listener
13 years ago
Richard Fuchs
67e876ff97
split udp listener init code into separate file
13 years ago
Richard Fuchs
32523c5896
split cookie cache keeping into separate file
13 years ago
Richard Fuchs
8ae44f7aa6
silly bugfix for the init fail case
13 years ago
Richard Fuchs
6755ce3e49
fix RE regression
13 years ago
Richard Fuchs
bbb8327750
implement udp Q command
13 years ago
Richard Fuchs
4cb63b5edf
need to handle the no-reply case to avoid deadlocks with bad cookies
13 years ago
Richard Fuchs
e033d1da1c
EINTR requires special handling
13 years ago
Richard Fuchs
1ec2c96655
living on the edge with epoll edge-triggered behavior
13 years ago
Richard Fuchs
db15692f21
using thread-local-storage for eliminating constant calls to time()
13 years ago
Richard Fuchs
45945f6c7f
it helps to actually initialize the condition var
13 years ago
Richard Fuchs
26824993e2
preliminary attempt to make the udp controller thread-safe
13 years ago
Richard Fuchs
145bbd1f7c
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.
13 years ago
Richard Fuchs
dc7517121d
remove uuid helper code
13 years ago