Jan Vidar Krey
|
7aeb8651ba
|
Fix bug #12: asserts in adc_msg_parse -> enabled strict utf8 parsing.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-23 21:47:05 +01:00 |
|
Jan Vidar Krey
|
13a8700554
|
Make sure logs do not output configured messages, but rather code names.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-23 15:47:54 +01:00 |
|
Jan Vidar Krey
|
5d5dda2f9b
|
Always obtain IP address during accept(), and not do it later as a call to getsockname().
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-23 15:05:27 +01:00 |
|
Jan Vidar Krey
|
90abf64e3a
|
Do explicit logging in src/message.c
|
2009-03-23 08:18:25 +01:00 |
|
Jan Vidar Krey
|
e9915df87c
|
remove timezone from logs, as it screws up on windows.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-21 04:11:14 +01:00 |
|
Jan Vidar Krey
|
1a1b5bdb38
|
Fixed nasty crash if a user sends a very large command to the hub.
Will overwrite heap memory.
Thanks to Toast who found this bug.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-21 02:58:53 +01:00 |
|
Jan Vidar Krey
|
7738baf38e
|
Log configuration reloads.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-20 19:09:55 +01:00 |
|
Jan Vidar Krey
|
3c4c52d0f9
|
Log configuration reloads.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-20 19:08:24 +01:00 |
|
Jan Vidar Krey
|
76588fb1bd
|
Don't print OK or ERROR when dumping config.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-20 19:05:25 +01:00 |
|
Jan Vidar Krey
|
f9e95ec582
|
Minor cleanups
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-20 19:02:32 +01:00 |
|
Jan Vidar Krey
|
7985d4fed0
|
Cleanup credentials to string handling
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-20 18:54:05 +01:00 |
|
Jan Vidar Krey
|
77343d3c21
|
Remove duplicate access_denied checks.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-20 18:38:42 +01:00 |
|
Jan Vidar Krey
|
f8d5b72a89
|
Cleanup command list, automatically generate help list depending on user credentials.
|
2009-03-20 18:37:38 +01:00 |
|
Jan Vidar Krey
|
cf2994b570
|
Fix whitespace
|
2009-03-20 18:37:05 +01:00 |
|
Jan Vidar Krey
|
b1f84b5b4a
|
Cleanup logging.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-20 17:40:50 +01:00 |
|
Jan Vidar Krey
|
998c6c36ce
|
Fix indentation
|
2009-03-20 16:40:59 +01:00 |
|
Jan Vidar Krey
|
4112b8111a
|
Fix problems with clients sending multiple INF messages during the login stage. Only the first one will be checked.
|
2009-03-20 16:40:34 +01:00 |
|
Jan Vidar Krey
|
1929f2fae7
|
Fix bug #9 - net_get_peer_address() failure on CentOS/Xen configurations.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-20 15:07:52 +01:00 |
|
Jan Vidar Krey
|
0266c8bb9c
|
Libevent fixes, and memory leak fix.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-19 17:57:04 +01:00 |
|
Jan Vidar Krey
|
5e3eabb677
|
Fix help message typo
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-19 01:30:46 +01:00 |
|
Jan Vidar Krey
|
669ab14022
|
Minor cleanups and stack reduction.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-19 01:27:34 +01:00 |
|
Jan Vidar Krey
|
1d491055c5
|
Do not use event_loopexit with new event loop.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-19 01:13:02 +01:00 |
|
Jan Vidar Krey
|
08351ea8e7
|
Merge branch 'event_queue_work'
|
2009-03-19 01:08:57 +01:00 |
|
Jan Vidar Krey
|
e2ac690164
|
Reindented code.
|
2009-03-19 01:01:36 +01:00 |
|
Jan Vidar Krey
|
3bb563b432
|
Cleaned up command system somewhat. Added admin commands for reload and shutdown.
|
2009-03-19 00:55:11 +01:00 |
|
Jan Vidar Krey
|
e10582fec2
|
Cleaned up command system slightly.
Added admin commands for reload and shutdown.
|
2009-03-19 00:53:44 +01:00 |
|
Jan Vidar Krey
|
84e278658b
|
Libevent changes.
|
2009-03-19 00:43:43 +01:00 |
|
Jan Vidar Krey
|
c671851be8
|
Cleaned up local event queue.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-18 02:56:49 +01:00 |
|
Jan Vidar Krey
|
4f8edfe9c8
|
Started working on an updated libevent and event queue implementation that would not require timers.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-18 02:32:00 +01:00 |
|
Jan Vidar Krey
|
b8a0b45245
|
Dump configuration does not quote integer and boolean settings.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-16 14:40:17 +01:00 |
|
Jan Vidar Krey
|
1e6f0a392a
|
Don't produce errors if a user is already logged in and trying again.
|
2009-03-16 12:46:29 +01:00 |
|
Jan Vidar Krey
|
f396902c57
|
Do not use socket call to print IP address when we do have a cached representation.
|
2009-03-16 12:45:13 +01:00 |
|
Jan Vidar Krey
|
acc697c33a
|
Do not use socket call to print IP address when we do have a cached representation.
|
2009-03-16 12:43:45 +01:00 |
|
Jan Vidar Krey
|
c29815ed62
|
Fixed compile warning.
|
2009-03-16 12:40:12 +01:00 |
|
Jan Vidar Krey
|
e74d2be318
|
Be more explicit when queueing.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-16 12:33:10 +01:00 |
|
Jan Vidar Krey
|
58e2982675
|
Fixed bug #1: Excessive send queue bug (corruption of the offset variable).
Low priority messages are not relayed if soft limit send queue is reached.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-16 12:28:58 +01:00 |
|
Jan Vidar Krey
|
4797d5ee90
|
SendQ debugging
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-14 02:09:45 +01:00 |
|
Jan Vidar Krey
|
5a0f01d1ec
|
Don't assert, rather print error messages.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 17:07:06 +01:00 |
|
Jan Vidar Krey
|
f6af8cf389
|
Merged changes from github.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 16:54:39 +01:00 |
|
Jan Vidar Krey
|
7337d9e1d1
|
Ensure the send queue offset is calculated correctly in case of a partial queued write.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 16:51:27 +01:00 |
|
Jan Vidar Krey
|
5a978d361c
|
Added asserts in case send queue size goes below zero.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 01:29:21 +01:00 |
|
Jan Vidar Krey
|
62d489130c
|
Dont do double I4/I6 records.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 01:10:13 +01:00 |
|
Jan Vidar Krey
|
3aecd67134
|
Re-fix #5: Always provide IP-address to all users, not just for active clients.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 00:54:37 +01:00 |
|
Jan Vidar Krey
|
a3520fbf09
|
Always provide IP address to all clients.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-12 16:24:44 +01:00 |
|
Jan Vidar Krey
|
18b0dc713f
|
Better dynamic send queue handling for large hubs at the cost of more memory use.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-12 16:00:56 +01:00 |
|
Jan Vidar Krey
|
6cf6e38a60
|
Document config default variables correctly.
|
2009-03-12 16:00:31 +01:00 |
|
Jan Vidar Krey
|
9770eaf559
|
Ensure admins and super users are also listed as operators
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-10 11:13:26 +01:00 |
|
Jan Vidar Krey
|
fcd532fd4b
|
Wrong stats, peak rx never calculated.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-10 00:17:49 +01:00 |
|
Jan Vidar Krey
|
dd5986c05f
|
Better help message formatting.
|
2009-03-08 22:17:41 +01:00 |
|
Jan Vidar Krey
|
990fc31296
|
Added +myip command.
|
2009-03-08 17:11:10 +01:00 |
|