ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/s_bsd_epoll.c
Revision 8940 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 23:45:33 2019 UTC (4 years, 11 months ago) by michael
File length: 4974 byte(s)
Diff to previous 8901 , to selected 966
- 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 (4 years, 11 months ago) by michael
File length: 4983 byte(s)
Diff to previous 8751 , to selected 966
- 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 (5 years, 2 months ago) by michael
File length: 4958 byte(s)
Diff to previous 8716 , to selected 966
- Update copyright years

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

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

Revision 8535 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 17:12:02 2018 UTC (5 years, 11 months ago) by michael
File length: 4921 byte(s)
Diff to previous 8534 , to selected 966
- s_bsd_epoll.c: remove syscall.h header include

Revision 8534 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 16:43:39 2018 UTC (5 years, 11 months ago) by michael
File length: 4946 byte(s)
Diff to previous 8531 , to selected 966
- s_bsd_epoll.c: get rid of the fixed size ep_fdlist and add support for a growing epoll_event array. Some code derived from libevent.

Revision 8531 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 15:02:45 2018 UTC (5 years, 11 months ago) by michael
File length: 4158 byte(s)
Diff to previous 8530 , to selected 966
- s_bsd_epoll.c: use epoll_create1 w/ EPOLL_CLOEXEC

Revision 8530 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 14:29:55 2018 UTC (5 years, 11 months ago) by michael
File length: 4156 byte(s)
Diff to previous 8465 , to selected 966
- s_bsd_epoll.c:comm_setselect(): use memset 0 on 'ep_event'

Revision 8465 - (view) (annotate) - [select for diffs]
Modified Mon Apr 2 14:04:25 2018 UTC (5 years, 11 months ago) by michael
File length: 4127 byte(s)
Diff to previous 8430 , to selected 966
- s_bsd_epoll.c:comm_setselect(): add assert()

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

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

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

Revision 8338 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:26:59 2018 UTC (6 years ago) by michael
File length: 4105 byte(s)
Diff to previous 8280 , to selected 966
- 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 (6 years, 1 month ago) by michael
File length: 4106 byte(s)
Diff to previous 7925 , to selected 966
- Update copyright years

Revision 7925 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:24 2016 UTC (7 years, 2 months ago) by michael
File length: 4106 byte(s)
Diff to previous 7667 , to selected 966
- Update copyright years

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

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

Revision 7329 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 21:07:50 2016 UTC (8 years, 1 month ago) by michael
File length: 4106 byte(s)
Diff to previous 7007 , to selected 966
- 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 (8 years, 2 months ago) by michael
File length: 4103 byte(s)
Diff to previous 6559 , to selected 966
- Update copyright years

Revision 6559 - (view) (annotate) - [select for diffs]
Modified Sat Oct 3 18:23:28 2015 UTC (8 years, 5 months ago) by michael
File length: 4103 byte(s)
Diff to previous 6554 , to selected 966
- s_bsd_devpoll.c, s_bsd_epoll.c:init_netio(): we don't care about the real value of errno

Revision 6554 - (view) (annotate) - [select for diffs]
Modified Sat Oct 3 16:56:36 2015 UTC (8 years, 5 months ago) by michael
File length: 4115 byte(s)
Diff to previous 6541 , to selected 966
- 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 (8 years, 6 months ago) by michael
File length: 4106 byte(s)
Diff to previous 5901 , to selected 966
- Replace obsolete usleep() with nanosleep()

Revision 5901 - (view) (annotate) - [select for diffs]
Modified Mon May 4 11:56:31 2015 UTC (8 years, 10 months ago) by michael
File length: 4054 byte(s)
Diff to previous 5346 , to selected 966
- Style corrections

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

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

Revision 4462 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:08:22 2014 UTC (9 years, 7 months ago) by michael
File length: 4066 byte(s)
Diff to previous 3987 , to selected 966
- 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 (9 years, 9 months ago) by michael
File length: 4024 byte(s)
Diff to previous 3985 , to selected 966
- Removed unused header includes

Revision 3985 - (view) (annotate) - [select for diffs]
Modified Wed Jun 18 13:24:48 2014 UTC (9 years, 9 months ago) by michael
File length: 4044 byte(s)
Diff to previous 3377 , to selected 966
- 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 (9 years, 11 months ago) by michael
File length: 6028 byte(s)
Diff to previous 2916 , to selected 966
- Create 8.2.x branch

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_epoll.c
File length: 6028 byte(s)
Diff to previous 2725 , to selected 966
- 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 (10 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_epoll.c
File length: 6051 byte(s)
Diff to previous 2650 , to selected 966
- 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 (10 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_epoll.c
File length: 5974 byte(s)
Diff to previous 1592 , to selected 966
- s_bsd_select.c, s_bsd_devpoll.c, s_bsd_epoll.c,
  s_bsd_kqueue.c, s_bsd_poll.c: style corrections

Revision 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd_epoll.c
File length: 5922 byte(s)
Diff to previous 1309 , to selected 966
- 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 (12 years ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_epoll.c
File length: 5922 byte(s)
Diff to previous 1247 , to selected 966
- 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 (12 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_epoll.c
File length: 5924 byte(s)
Diff to previous 1156 , to selected 966
- 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 (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_epoll.c
File length: 5910 byte(s)
Diff to previous 1155 , to selected 966
- create ircd-hybrid-8 "branch"

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

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

Revision 966 - (view) (annotate) - [selected]
Modified Sat Aug 1 16:36:00 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd_epoll.c
File length: 5910 byte(s)
Diff to previous 908
- make valgrind shut up when calling epoll_ctl

Revision 908 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 23:21:51 2007 UTC (16 years, 4 months ago) by stu
Original Path: ircd-hybrid-7.2/src/s_bsd_epoll.c
File length: 5895 byte(s)
Diff to previous 34 , to selected 966
Completely redo the build system.  Now uses libtool and automake.  Suggest you clean out your tree and then do ./autogen.sh.
Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (18 years, 5 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/s_bsd_epoll.c
File length: 5835 byte(s)
Diff to previous 33 , to selected 966
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 (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd_epoll.c
File length: 5835 byte(s)
Diff to previous 32 , to selected 966
- svn:keywords

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

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

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (18 years, 5 months ago) by adx
Original Path: ircd-hybrid/src/s_bsd_epoll.c
File length: 5885 byte(s)
Diff to selected 966
- 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