Commit graph

99 commits

Author SHA1 Message Date
Valery Yatsko f427c8b00d strlcpy -> rb_strlcpy 2008-04-20 08:40:40 +04:00
Valery Yatsko d80645d0e2 'reseed_srand' event - libratbox and various ssl stuff need it 2008-04-20 08:26:14 +04:00
Valery Yatsko f20a07457b Remove rb_checktimeouts event init from ircd.c - it's inside libratbox now 2008-04-20 08:14:22 +04:00
Valery Yatsko ea82a3ca27 Splitted open_logfiles(); into open_logfiles(); and close_logfiles();, use the second one on ircd_shutdown 2008-04-20 07:42:30 +04:00
Valery Yatsko fd5af3d072 Moving some m_die code into ircd_shutdown(reason) function and use it on SIGTERM too 2008-04-20 07:38:56 +04:00
Valery Yatsko 041d54ff4b Switched on using cache_user_motd(); for motd update on rehash 2008-04-20 07:24:50 +04:00
Jilles Tjoelker 8bd5767b95 Remove ^M on line endings. 2008-04-13 17:54:23 +02:00
Valery Yatsko 170703fe3a Removing glines 2008-04-11 18:47:03 +04:00
Valery Yatsko b3e9f8ebc2 Importing ratbox3 r25213 changeset 2008-04-09 23:22:51 +04:00
Valery Yatsko 39944e1ff2 rb_lib_loop delay changed from 250 to 0, it really must be set to nil, 'cause there are some additional checks inside libratbox3 2008-04-08 18:09:32 +04:00
Valery Yatsko b5b84cad5d Oups, declarations related to ircd.c returned from ircd_state.c 2008-04-08 16:01:16 +04:00
Valery Yatsko 1aad97824b Cleaned up ircd.c a bit and added additional check to ircd_die_cb() 2008-04-08 15:50:39 +04:00
Valery Yatsko 31fd33171e ServerRunning is not used too 2008-04-08 15:38:18 +04:00
Valery Yatsko aa6c90dec7 It seems that we don't use data structs version anywhere since 1.2.0 - removed 2008-04-08 15:36:56 +04:00
Valery Yatsko c6d7203732 ssl sync with http://hg.angelforce.ru/charybdis-old 2008-04-06 18:52:42 +04:00
Valery Yatsko 101db4c443 Much clear maxconnections stuff - ported from ratbox3. 2008-04-05 23:56:15 +04:00
Valery Yatsko 2af8c7ff8b Some global structs cleaned up a bit in their initalization and declarations. 2008-04-05 22:02:59 +04:00
Valery Yatsko 47adde3def s_stats.c removed, now we use new style of stats handling. 2008-04-04 19:54:37 +04:00
William Pitcock fd3f1b5b69 set_time() isn't needed anymore; remove it 2008-04-03 05:35:44 -05:00
William Pitcock 4016731b1c s_log.* -> logger.* (s_foo looks ugly, lets try to get rid of it) 2008-04-02 21:52:01 -05:00
William Pitcock 1d5d54832a setting maxconnections seems to get things going... 2008-04-02 20:45:24 -05:00
William Pitcock 33564d03b5 use rb_set_time() to update ratbox time 2008-04-02 20:26:00 -05:00
Jilles Tjoelker 150f35f7c2 Need to initialize linebuf separately. 2008-04-03 01:40:32 +02:00
Valery Yatsko f691939a17 Workarond with listener.c stuff on moving from listener->fd usage on listener->F. 2008-04-02 20:06:11 +04:00
Valery Yatsko 54ac8b60a1 Reverting some changed related not to moving on libratbox3 but using ratbox3 source! 2008-04-02 19:37:50 +04:00
Valery Yatsko 19fee732d7 tstats stuff gone to m_stats.c 2008-04-02 16:04:43 +04:00
Valery Yatsko b5cf99a8c3 s_stats workaround 2008-04-02 14:35:57 +04:00
Valery Yatsko f888761cec ssl_ok in ircd.{h,c} 2008-04-02 14:29:18 +04:00
Valery Yatsko ba4936e2c5 extern declaration in ircd.h instead of ircd.c 2008-04-02 13:53:41 +04:00
William Pitcock 2847d2186e fix ircd.c compilation 2008-04-01 20:56:54 -05:00
Valery Yatsko 0edb29fa2e Fixed a ratbox lib call as it is in ircd-ratbox-3 2008-04-02 05:47:12 +04:00
Valery Yatsko 12aea5fecd event* -> rb_event* 2008-04-02 05:43:35 +04:00
William Pitcock 90728508bb fix irc_dictionary, and some ircd warnings 2008-04-01 20:01:25 -05:00
Valery Yatsko e335494516 CurrentTime -> rb_currenttime(); 2008-04-02 03:53:20 +04:00
Valery Yatsko 81af5bcb39 libcharybdis includes gone. 2008-04-02 02:39:19 +04:00
Jilles Tjoelker 734d420e14 Some changes for libratbox. 2008-04-02 00:10:51 +02:00
William Pitcock 434028d031 rb_event_add ;) 2008-04-01 16:26:23 -05:00
William Pitcock fa8328508d Make m_set compile. 2008-04-01 16:25:22 -05:00
William Pitcock 330fc5c10c dlink -> rb_dlink 2008-04-01 15:41:52 -05:00
William Pitcock b2f0da886e ircs[n]printf -> rb_s[n]printf 2008-04-01 15:38:40 -05:00
William Pitcock d56734d6dd bork bork bork 2008-04-01 15:14:08 -05:00
William Pitcock 24e9341af3 Initialize libratbox. 2008-04-01 15:10:43 -05:00
Jilles Tjoelker 994544c294 Merge links_cache into scache and rework scache.
This changes flattened /links output to disclose less
routing information and slightly increases memory "leak"
from server names that do not come back anymore.
2007-11-23 22:11:25 +01:00
Jilles Tjoelker 66c8fdd207 Remove Server.up and Server.upid.
Server.up is obsolete, like User.server.
Server.upid has never been really useful.
2007-11-22 00:38:13 +01:00
jilles 1aa8ffcbfd [svn] Make the code that raises fd rlimit to hard limit work. 2007-04-03 15:25:11 -07:00
nenolod 6fcb8629ae [svn] - remove ALL braindead 2.8 I/O artifacts: MASTER_MAX, HARD_FDLIMIT, HARD_FDLIMIT_, MAXCONNECTIONS, MAX_CLIENTS, etc.
they are ALL gone. all of this stuff is now determined at runtime via getrlimit(2).
- due to this, devpoll is broken. i'm not motivated to fix it at the moment.
2007-04-03 02:21:31 -07:00
nenolod c2d96fcbff [svn] - add config option for setting max_clients. 2007-03-05 10:58:38 -08:00
nenolod 68ff929f3d [svn] - remove get_maxrss() and all of that insecure and unsafe nonsense 2007-03-05 10:51:17 -08:00
nenolod 212380e3f4 [svn] - the new plan:
+ branches/release-2.1 -> 2.2 base
  + 3.0 -> branches/cxxconversion
  + backport some immediate 3.0 functionality for 2.2
  + other stuff
2007-01-24 22:40:21 -08:00