Jan Vidar Krey
4aa65733d0
Poll as long as possible until next timeout the earliest.
2010-01-22 23:18:59 +01:00
Jan Vidar Krey
b29da11f3b
Make sure we call the timeout code.
2010-01-21 23:52:04 +01:00
Jan Vidar Krey
78ad9b8572
Fixed bad logic inside the timer scheduling.
2010-01-21 23:13:52 +01:00
Jan Vidar Krey
f645811f37
Merge branch 'master' of github.com:janvidar/uhub
2010-01-20 18:42:45 +01:00
Jan Vidar Krey
2f09fcea84
Added select() backend which can be used as a fallback if epoll is not available.
2010-01-20 18:39:55 +01:00
root
efeb36c492
- update uhub.conf example after add !rules
...
- add example rules.txt
- fix compile warning in src/util/timeout.c
- add example config file for rotate log file in RHEL\CentOS
2010-01-20 11:12:43 +03:00
Jan Vidar Krey
f84073f7cc
Various fixes for epoll handling without libevent.
...
This should take care of most compile issues as well as busy loops caused by unhandled recv() calls returning 0 and general cleanups.
2010-01-19 17:52:58 +01:00
Jan Vidar Krey
af8421fa47
Crash fix.
2010-01-18 21:57:51 +01:00
Jan Vidar Krey
001fa6739a
Crash fix.
2010-01-18 19:38:07 +01:00
Jan Vidar Krey
7dfa3162cb
Epoll fixes.
2010-01-18 19:34:18 +01:00
Jan Vidar Krey
2e2f93d0a4
Started working on new timeout handling which can be used when we remove libevent.
...
This will probably be used by default on UNIX platforms at some point.
The timeout handling accomplishes O(1) inserts, removes and reschedules
but the accuracy is limited to whole seconds.
2009-12-09 17:12:33 +01:00
Jan Vidar Krey
00995a1946
Fix potential memory leaks and crashes.
2009-11-18 17:41:28 +01:00
Jan Vidar Krey
1e380ecf0f
Fix bug #77 - Error in ACL command parsing.
2009-08-31 19:39:09 +02:00
Jan Vidar Krey
1af613d9ce
Fixed printf issues with size_t. Since Windows do not support %zu we have to use %Iu there instead.
...
Solved that with an ugly but needed macro.
2009-08-20 10:44:44 +02:00
Jan Vidar Krey
444f991f44
Fix bug #44 - [Request] IP log in the memory
2009-07-26 06:03:43 +02:00
Jan Vidar Krey
041ce7a1fb
Generalized the IP range and mask parsing code.
2009-07-26 03:56:55 +02:00
Jan Vidar Krey
6e5d28c2d4
Rework logging code to be able to turn it off completely.
2009-07-26 01:38:38 +02:00
Jan Vidar Krey
36a07e3f7e
Reorganized sources slightly.
2009-07-25 20:05:27 +02:00