ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/s_bsd_kqueue.c
Revision 10024 - (view) (annotate) - [select for diffs]
Modified Sat Jan 1 10:20:46 2022 UTC (4 years, 6 months ago) by michael
File length: 4878 byte(s)
Diff to previous 9858
- Bump copyright years

Revision 9858 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 04:43:42 2021 UTC (5 years, 6 months ago) by michael
File length: 4878 byte(s)
Diff to previous 9102
- Bump copyright years

Revision 9102 - (view) (annotate) - [select for diffs]
Modified Wed Jan 1 09:58:57 2020 UTC (6 years, 6 months ago) by michael
File length: 4878 byte(s)
Diff to previous 8940
- Bump copyright years everywhere

Revision 8940 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 23:45:33 2019 UTC (7 years, 2 months ago) by michael
File length: 4878 byte(s)
Diff to previous 8901
- Fixed issue where timeouts set with comm_setselect() were not working as in most places this function has been called with seconds when it really expected
  milliseconds. Removed all related multiply/divide by 1000 nonsense that's sprinkled in the code as ircd currently does support one-second granularity anyway.

Revision 8901 - (view) (annotate) - [select for diffs]
Modified Sun Apr 21 20:10:44 2019 UTC (7 years, 3 months ago) by michael
File length: 4887 byte(s)
Diff to previous 8751
- Add support for monotonic clocks and have some timers make use of it;  remove event_set_back_events()

Revision 8751 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:06:50 2019 UTC (7 years, 6 months ago) by michael
File length: 4862 byte(s)
Diff to previous 8716
- Update copyright years

Revision 8716 - (view) (annotate) - [select for diffs]
Modified Mon Dec 10 16:53:30 2018 UTC (7 years, 7 months ago) by michael
File length: 4862 byte(s)
Diff to previous 8657
- Sprinkle some assert()

Revision 8657 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 19:02:38 2018 UTC (7 years, 8 months ago) by michael
File length: 4815 byte(s)
Diff to previous 8430
- Make use of the bool data type in some more places

Revision 8430 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 18:48:40 2018 UTC (8 years, 4 months ago) by michael
File length: 4799 byte(s)
Diff to previous 8413
- Stylistic changes

Revision 8413 - (view) (annotate) - [select for diffs]
Modified Thu Mar 22 18:09:06 2018 UTC (8 years, 4 months ago) by michael
File length: 4819 byte(s)
Diff to previous 8382
- Rename some functions to comply with naming convention

Revision 8382 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 14:11:26 2018 UTC (8 years, 4 months ago) by michael
File length: 4792 byte(s)
Diff to previous 8343
- s_bsd_epoll.c, s_bsd_kqueue.c: make use of epoll_event.data.ptr and kevent.udata

Revision 8343 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 23:22:31 2018 UTC (8 years, 4 months ago) by michael
File length: 4821 byte(s)
Diff to previous 8340
- s_bsd_kqueue.c:comm_select(): fixed another compile error

Revision 8340 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 23:13:13 2018 UTC (8 years, 4 months ago) by michael
File length: 4819 byte(s)
Diff to previous 8338
- s_bsd_kqueue.c:comm_select(): fixed build

Revision 8338 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:26:59 2018 UTC (8 years, 4 months ago) by michael
File length: 4818 byte(s)
Diff to previous 8280
- Restore fd_table. No longer allocate fde_t items from within any other structures like the AuthRequest, or Connection structure
- struct AuthRequest once again is no longer allocated from within the Connection structure

Revision 8280 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:33 2018 UTC (8 years, 5 months ago) by michael
File length: 4821 byte(s)
Diff to previous 7925
- Update copyright years

Revision 7925 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:24 2016 UTC (9 years, 6 months ago) by michael
File length: 4821 byte(s)
Diff to previous 7759
- Update copyright years

Revision 7759 - (view) (annotate) - [select for diffs]
Modified Wed Oct 5 18:33:01 2016 UTC (9 years, 9 months ago) by michael
File length: 4821 byte(s)
Diff to previous 7667
- s_bsd_kqueue.c:kq_update_events(): make 'zero_timespec' a const struct

Revision 7667 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 17:09:36 2016 UTC (10 years ago) by michael
File length: 4799 byte(s)
Diff to previous 7567
- Fixed svn properties

Revision 7567 - (view) (annotate) - [select for diffs]
Modified Tue May 24 16:23:51 2016 UTC (10 years, 2 months ago) by michael
File length: 4799 byte(s)
Diff to previous 7329
- Rename init_netio() to netio_init()

Revision 7329 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 21:07:50 2016 UTC (10 years, 5 months ago) by michael
File length: 4799 byte(s)
Diff to previous 7007
- Now that we got time_t to work nicely on openbsd with snprintf's conversion specifiers,
  we ran into a similiar issue on Raspbian/ARMv7's time_t which is of signed 32 bit and
  doesn't cope at all with %j. Instead of doing tricks, get rid of time_t everywhere and
  forever and use uintmax_t instead which has at least a 'standardized' conversion specifier
  associated with it.

Revision 7007 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:09:08 2016 UTC (10 years, 6 months ago) by michael
File length: 4796 byte(s)
Diff to previous 6558
- Update copyright years

Revision 6558 - (view) (annotate) - [select for diffs]
Modified Sat Oct 3 18:18:29 2015 UTC (10 years, 9 months ago) by michael
File length: 4796 byte(s)
Diff to previous 6554
- s_bsd_kqueue.c:init_netio(): improve error reporting

Revision 6554 - (view) (annotate) - [select for diffs]
Modified Sat Oct 3 16:56:36 2015 UTC (10 years, 9 months ago) by michael
File length: 4776 byte(s)
Diff to previous 6541
- Use EXIT_FAILURE in some places instead of hardcoded values

Revision 6541 - (view) (annotate) - [select for diffs]
Modified Wed Sep 16 11:01:18 2015 UTC (10 years, 10 months ago) by michael
File length: 4767 byte(s)
Diff to previous 6349
- Replace obsolete usleep() with nanosleep()

Revision 6349 - (view) (annotate) - [select for diffs]
Modified Tue Aug 11 17:53:32 2015 UTC (10 years, 11 months ago) by michael
File length: 4715 byte(s)
Diff to previous 5346
- Make use of enum in more places

Revision 5346 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:41:14 2015 UTC (11 years, 6 months ago) by michael
File length: 4711 byte(s)
Diff to previous 4564
- Update copyright years

Revision 4564 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:24:47 2014 UTC (11 years, 11 months ago) by michael
File length: 4711 byte(s)
Diff to previous 4462
- Update GPL 2 license headers

Revision 4462 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:08:22 2014 UTC (11 years, 11 months ago) by michael
File length: 4707 byte(s)
Diff to previous 3987
- Removed stupid PF typedef in fdlist.h which prevented both gcc and clang from spitting out
  a warning about the first argument of s_bsd:ssl_handshake() being an 'int' when it really
  has to be a 'fde_t' pointer.
- Fixed first argument of s_bsd:ssl_handshake() which should be a 'fde_t' pointer instead of an 'int'.

Revision 3987 - (view) (annotate) - [select for diffs]
Modified Wed Jun 18 14:41:06 2014 UTC (12 years, 1 month ago) by michael
File length: 4665 byte(s)
Diff to previous 3985
- Removed unused header includes

Revision 3985 - (view) (annotate) - [select for diffs]
Modified Wed Jun 18 13:24:48 2014 UTC (12 years, 1 month ago) by michael
File length: 4685 byte(s)
Diff to previous 3377
- s_bsd_epoll.c, s_bsd_kqueue.c: removed defines/prototypes for extremely outdated systems

Revision 3377 - (view) (annotate) - [select for diffs]
Modified Thu Apr 24 16:15:51 2014 UTC (12 years, 3 months ago) by michael
File length: 5129 byte(s)
Diff to previous 2916
- Create 8.2.x branch

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_kqueue.c
File length: 5129 byte(s)
Diff to previous 2725
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years

Revision 2725 - (view) (annotate) - [select for diffs]
Modified Sun Dec 29 13:01:00 2013 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_kqueue.c
File length: 5143 byte(s)
Diff to previous 2650
- Fixed bug where ircd didn't timeout SSL connections that haven't
  finished the SSL handshake. Reported by Adam.

Revision 2650 - (view) (annotate) - [select for diffs]
Modified Tue Dec 10 19:46:48 2013 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_kqueue.c
File length: 5066 byte(s)
Diff to previous 2614
- s_bsd_select.c, s_bsd_devpoll.c, s_bsd_epoll.c,
  s_bsd_kqueue.c, s_bsd_poll.c: style corrections

Revision 2614 - (view) (annotate) - [select for diffs]
Modified Mon Dec 2 18:20:23 2013 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_kqueue.c
File length: 5030 byte(s)
Diff to previous 2613
- src/s_bsd_kqueue.c: removed redundant init_netio() prototype; fixed indentation

Revision 2613 - (view) (annotate) - [select for diffs]
Modified Mon Dec 2 18:16:38 2013 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_kqueue.c
File length: 5025 byte(s)
Diff to previous 2589
- src/s_bsd_kqueue.c: fixed compile warning

Revision 2589 - (view) (annotate) - [select for diffs]
Modified Wed Nov 20 23:25:12 2013 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_kqueue.c
File length: 5024 byte(s)
Diff to previous 1592
- Applied kqueue() fix by Adam <adam@anope.org>

Revision 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (13 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_kqueue.c
File length: 4979 byte(s)
Diff to previous 1309
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1309 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 11:24:18 2012 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_kqueue.c
File length: 4979 byte(s)
Diff to previous 1247
- renaming files:

  ircd_parser.y -> conf_parser.y
  ircd_lexer.l  -> conf_lexer.l
  s_conf.c      -> conf.c
  s_conf.h      -> conf.h
  s_log.c       -> log.c
  s_log.h       -> log.h

Revision 1247 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 07:54:24 2011 UTC (14 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_kqueue.c
File length: 4981 byte(s)
Diff to previous 1156
- Rewrite and cleanup half-broken logging subsystem.
  Logfile rotating is not working yet

Revision 1156 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:29:20 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_kqueue.c
File length: 4974 byte(s)
Diff to previous 1155
- create ircd-hybrid-8 "branch"

Revision 1155 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:27:45 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid/src/s_bsd_kqueue.c
File length: 4974 byte(s)
Diff to previous 1029
- recreate "trunk"

Revision 1029 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:10:50 2009 UTC (16 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd_kqueue.c
File length: 4974 byte(s)
Diff to previous 1028
- branch off trunk to create 7.3 branch
Revision 1028 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:03:38 2009 UTC (16 years, 8 months ago) by michael
Original Path: ircd-hybrid/src/s_bsd_kqueue.c
File length: 4974 byte(s)
Diff to previous 908
- move ircd-hybrid-7.2 to trunk

Revision 908 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 23:21:51 2007 UTC (18 years, 8 months ago) by stu
Original Path: ircd-hybrid-7.2/src/s_bsd_kqueue.c
File length: 4974 byte(s)
Diff to previous 842
Completely redo the build system.  Now uses libtool and automake.  Suggest you clean out your tree and then do ./autogen.sh.
Revision 842 - (view) (annotate) - [select for diffs]
Modified Fri Feb 9 21:27:48 2007 UTC (19 years, 5 months ago) by adx
Original Path: ircd-hybrid-7.2/src/s_bsd_kqueue.c
File length: 4913 byte(s)
Diff to previous 34
+ fixed off-by-one which turned out to cause large memory overwrites
+ this is an old one, very hard to catch: 1) FreeBSD system, 2) a lot
  of clients (preferably 10K+), 3) exiting/reading from/writing to
  128+ clients at a time, 4) ircd version where the bug shows up clearly
  (on 7.3 WHOWASHASH gets corrupted, and somewhat later we have a core:
  whowas_add_history -> dlinkDelete)
        
This applies to ALL versions of hybrid since 7.0, but is known to 
disclose most noticeably under 7.3


Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (20 years, 9 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/s_bsd_kqueue.c
File length: 4931 byte(s)
Diff to previous 33
create 7.2 branch, we can move/rename it as needed.


Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (20 years, 9 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd_kqueue.c
File length: 4931 byte(s)
Diff to previous 32
- svn:keywords

Revision 32 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (20 years, 9 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd_kqueue.c
File length: 4931 byte(s)
Diff to previous 31
- svn:keywords

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (20 years, 9 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd_kqueue.c
File length: 4931 byte(s)
Diff to previous 30
- Fix svn:keywords

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (20 years, 9 months ago) by adx
Original Path: ircd-hybrid/src/s_bsd_kqueue.c
File length: 4989 byte(s)
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a