ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd_epoll.c
Revision 9101 - (view) (annotate) - [select for diffs]
Modified Wed Jan 1 09:58:45 2020 UTC (5 years, 7 months ago) by michael
File length: 4974 byte(s)
Diff to previous 8941
- Bump copyright years everywhere

Revision 8941 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 23:46:13 2019 UTC (6 years, 3 months ago) by michael
File length: 4974 byte(s)
Diff to previous 8900
- 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 8900 - (view) (annotate) - [select for diffs]
Modified Sun Apr 21 20:09:18 2019 UTC (6 years, 4 months ago) by michael
File length: 4983 byte(s)
Diff to previous 8752
- Add support for monotonic clocks and have some timers make use of it;  remove event_set_back_events()

Revision 8752 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:07:01 2019 UTC (6 years, 7 months ago) by michael
File length: 4958 byte(s)
Diff to previous 8717
- Update copyright years

Revision 8717 - (view) (annotate) - [select for diffs]
Modified Mon Dec 10 16:53:51 2018 UTC (6 years, 8 months ago) by michael
File length: 4958 byte(s)
Diff to previous 8658
- Sprinkle some assert()

Revision 8658 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 19:03:09 2018 UTC (6 years, 9 months ago) by michael
File length: 4945 byte(s)
Diff to previous 8536
- Make use of the bool data type in some more places

Revision 8536 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 17:12:26 2018 UTC (7 years, 3 months ago) by michael
File length: 4921 byte(s)
Diff to previous 8533
- s_bsd_epoll.c: remove syscall.h header include

Revision 8533 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 16:43:06 2018 UTC (7 years, 3 months ago) by michael
File length: 4946 byte(s)
Diff to previous 8532
- 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 8532 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 15:03:39 2018 UTC (7 years, 3 months ago) by michael
File length: 4158 byte(s)
Diff to previous 8529
- s_bsd_epoll.c: use epoll_create1 w/ EPOLL_CLOEXEC

Revision 8529 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 14:29:13 2018 UTC (7 years, 3 months ago) by michael
File length: 4156 byte(s)
Diff to previous 8466
- s_bsd_epoll.c:comm_setselect(): use memset 0 on 'ep_event'

Revision 8466 - (view) (annotate) - [select for diffs]
Modified Mon Apr 2 14:04:45 2018 UTC (7 years, 4 months ago) by michael
File length: 4127 byte(s)
Diff to previous 8431
- s_bsd_epoll.c:comm_setselect(): add assert()

Revision 8431 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 18:49:15 2018 UTC (7 years, 5 months ago) by michael
File length: 4101 byte(s)
Diff to previous 8414
- Stylistic changes

Revision 8414 - (view) (annotate) - [select for diffs]
Modified Thu Mar 22 18:11:39 2018 UTC (7 years, 5 months ago) by michael
File length: 4110 byte(s)
Diff to previous 8383
- Rename some functions to comply with naming convention

Revision 8383 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 14:11:46 2018 UTC (7 years, 5 months ago) by michael
File length: 4092 byte(s)
Diff to previous 8339
- s_bsd_epoll.c, s_bsd_kqueue.c: make use of epoll_event.data.ptr and kevent.udata

Revision 8339 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:47:06 2018 UTC (7 years, 5 months ago) by michael
File length: 4105 byte(s)
Diff to previous 8279
- 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 8279 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:13 2018 UTC (7 years, 6 months ago) by michael
File length: 4106 byte(s)
Diff to previous 7924
- Update copyright years

Revision 7924 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:08 2016 UTC (8 years, 7 months ago) by michael
File length: 4106 byte(s)
Diff to previous 7668
- Update copyright years

Revision 7668 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 17:09:49 2016 UTC (9 years, 1 month ago) by michael
File length: 4106 byte(s)
Diff to previous 7566
- Fixed svn properties

Revision 7566 - (view) (annotate) - [select for diffs]
Modified Tue May 24 16:23:36 2016 UTC (9 years, 3 months ago) by michael
File length: 4106 byte(s)
Diff to previous 7330
- Rename init_netio() to netio_init()

Revision 7330 - (view) (annotate) - [select for diffs]
Modified Fri Feb 19 17:50:13 2016 UTC (9 years, 6 months ago) by michael
File length: 4106 byte(s)
Diff to previous 7006
- 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 7006 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:07:54 2016 UTC (9 years, 7 months ago) by michael
File length: 4103 byte(s)
Diff to previous 6560
- Update copyright years

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

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

Revision 6542 - (view) (annotate) - [select for diffs]
Modified Wed Sep 16 11:01:51 2015 UTC (9 years, 11 months ago) by michael
File length: 4106 byte(s)
Diff to previous 5902
- Replace obsolete usleep() with nanosleep()

Revision 5902 - (view) (annotate) - [select for diffs]
Modified Mon May 4 11:56:42 2015 UTC (10 years, 3 months ago) by michael
File length: 4054 byte(s)
Diff to previous 5347
- Style corrections

Revision 5347 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:42:20 2015 UTC (10 years, 7 months ago) by michael
File length: 4070 byte(s)
Diff to previous 4565
- Update copyright years

Revision 4565 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:27:40 2014 UTC (11 years ago) by michael
File length: 4070 byte(s)
Diff to previous 4461
- Update GPL 2 license headers

Revision 4461 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:05:26 2014 UTC (11 years ago) by michael
File length: 4066 byte(s)
Diff to previous 3986
- 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 3986 - (view) (annotate) - [select for diffs]
Modified Wed Jun 18 14:40:01 2014 UTC (11 years, 2 months ago) by michael
File length: 4024 byte(s)
Diff to previous 3984
- Removed unused header includes

Revision 3984 - (view) (annotate) - [select for diffs]
Modified Wed Jun 18 13:24:34 2014 UTC (11 years, 2 months ago) by michael
File length: 4044 byte(s)
Diff to previous 2916
- s_bsd_epoll.c, s_bsd_kqueue.c: removed defines/prototypes for extremely outdated systems

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (11 years, 7 months ago) by michael
File length: 6028 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 (11 years, 7 months ago) by michael
File length: 6051 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 (11 years, 8 months ago) by michael
File length: 5974 byte(s)
Diff to previous 1592
- 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 (12 years, 10 months ago) by michael
File length: 5922 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 (13 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_epoll.c
File length: 5922 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 (13 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_epoll.c
File length: 5924 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 ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd_epoll.c
File length: 5910 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 ago) by michael
Original Path: ircd-hybrid/src/s_bsd_epoll.c
File length: 5910 byte(s)
Diff to previous 1029
- recreate "trunk"

Revision 1029 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:10:50 2009 UTC (15 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd_epoll.c
File length: 5910 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 (15 years, 9 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) - [select for diffs]
Modified Sat Aug 1 16:36:00 2009 UTC (16 years 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 (17 years, 9 months ago) by stu
Original Path: ircd-hybrid-7.2/src/s_bsd_epoll.c
File length: 5895 byte(s)
Diff to previous 34
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 (19 years, 10 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/s_bsd_epoll.c
File length: 5835 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 (19 years, 10 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd_epoll.c
File length: 5835 byte(s)
Diff to previous 32
- svn:keywords

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

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (19 years, 10 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd_epoll.c
File length: 5835 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 (19 years, 10 months ago) by adx
Original Path: ircd-hybrid/src/s_bsd_epoll.c
File length: 5885 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