Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-24 | Update copyright headers. | InspIRCd Robot | |
2020-04-21 | Fixes by misspell-fixer | InspIRCd Robot | |
2020-02-15 | Add HasFd to EventHandler and switch code to use it. | Sadie Powell | |
2020-01-11 | Update copyright headers. | InspIRCd Robot | |
2019-07-21 | Add a method for swapping user I/O handlers. | Peter Powell | |
2019-05-14 | Resize the event sets to 2x the CurrentSetSize in ResizeDouble(). | Peter Powell | |
2018-01-20 | Pass an irc::socket::sockaddrs to SocketEngine::SendTo(). | Peter Powell | |
2018-01-20 | Pass an irc::socket::sockaddrs to SocketEngine::Connect(). | Peter Powell | |
2017-10-22 | Deduplicate error handling in the socket engines. | Peter Powell | |
2017-10-22 | Convert GetMaxFds() to size_t and deduplicate setting code. | Peter Powell | |
2017-08-26 | Remove some outdated documentation from the SocketEngine class. | Peter Powell | |
2017-08-26 | Fix a bunch of Doxygen warnings. | Peter Powell | |
2017-07-11 | Improve and centralize socket engine event counters. | Robin Burchell | |
The write counters were close to useless because they were only incremented on a write "event" which is only triggered when writing would block. Read handling was a little more useful in that all reads must happen through the socket engine, so these were happening at the correct time, but we can clean this up by doing it in the SE itself rather than each platform port. This means that both read and write events are now easily and usefully defined as "a syscall of either read or write was attempted". We also count empty read and write events as being an event, because they still were an attempt to poll a socket in some way. This may help to identify "bad" code which is repeatedly trying to read a socket for some reason. Lastly, we check for failed read/write calls, and log them as an error event. A lot of the time, this is how sockets are determined as being disconnected (ie. at read/write time). While we're at it, split Update() in two to make the calls more self-describing. This has no real impact since only one call is made at a time anyway. | |||
2016-08-11 | Update description of class EventHandler | Attila Molnar | |
Readable() and Writeable() was removed long ago | |||
2016-08-11 | Replace HandleEvent() references in the SocketEngine documentation with ↵ | Attila Molnar | |
OnEventHandler*() | |||
2015-04-12 | Dispatch EventHandler events to dedicated virtual functions | Attila Molnar | |
Remove enum EventType | |||
2015-03-04 | Add SocketEngine::WriteV() | Attila Molnar | |
2014-06-07 | Change the number reported by SocketEngine::GetMaxFds() to be informal | Attila Molnar | |
Do not exit if we can't determine it | |||
2014-02-09 | Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*) | Attila Molnar | |
2014-02-08 | Change all socketengine methods to be static | Attila Molnar | |
2014-02-08 | Move socketengine stats into a new class | Attila Molnar | |
2014-02-08 | Rename SocketEngine::AddFd() and DelFd() to AddFdRef() and DelFdRef() | Attila Molnar | |
2014-02-08 | Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME define | Attila Molnar | |
2014-02-08 | Change SocketEngine functions that do not require an instance to be static | Attila Molnar | |
2014-02-04 | New socketengine stuff: | Adam | |
Use vectors that grow as necessary instead of mass allocating everything at once Rework poll engine logic to make sense | |||
2014-02-04 | Change type of SocketEngine::CurrentSetSize to size_t from int | Attila Molnar | |
2013-08-30 | Merge insp20 | attilamolnar | |
2013-07-14 | Use the correct socket related error messages on Windows | Adam | |
2013-04-28 | Merge insp20 | attilamolnar | |
2013-04-24 | Move SocketEngine::IgnoreError() code into socketengine.h and add test for ↵ | attilamolnar | |
EWOULDBLOCK | |||
2013-04-16 | Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing ↵ | Adam | |
WSAEWOULDBLOCK | |||
2013-04-12 | Tidy up source files: | Peter Powell | |
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. | |||
2013-04-05 | Merge inspircd_{config,version}.h into a single header file. | Peter Powell | |
2013-04-01 | Whitespace and empty destructor removal, minor coding style changes | attilamolnar | |
2012-07-05 | Fix Doxygen syntax errors. | Peter Powell | |
2012-04-19 | Replace copyright headers with headers granting specific authors copyright | Robby- | |
2012-04-14 | Fix some of the include guard names (requested by SaberUK) | Justin Crawford | |
2012-04-14 | Fixes for bug #12 | Justin Crawford | |
2010-03-02 | DelFd should not fail, it will leave a bad dangling pointer in that case | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12584 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-02-12 | Floating-point math should have no place in an ircd | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12442 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-01-11 | ...because every now and again, i have to do a massive commit. | brain | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-11-13 | Get rid of socklen_t parameter to Bind, we are using C++ here and can do it ↵ | danieldg | |
other ways git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12129 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-11-06 | Remove Extensible parent from EventHandler | danieldg | |
This also fixes SSL certificate support when m_sslinfo is not loaded git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12048 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-10-25 | Fixes found by removing User inheritance from StreamSocket | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-10-24 | Get rid of OpenTCPSocket | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11969 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-09-30 | Remove include/inspircd_se_config.h and socketengine-specific headers | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11784 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-09-26 | Add FD_WANT_SINGLE_WRITE to efficiently replace FD_WANT_POLL_WRITE | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11762 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-09-26 | Clean up SocketEngine interface to allow edge-triggered I/O and sockets that ↵ | danieldg | |
do not force readability. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11760 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-09-21 | Create StreamSocket for IO hooking implementation | danieldg | |
Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-09-02 | Remove unneeded Extensible inheritance and remove "age" field from classbase | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7 |