Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-06 | Clean up indent in StreamSocket::DoWrite() | Attila Molnar | |
2015-06-06 | Call OnStreamSocketWrite() once per write event | Attila Molnar | |
Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core | |||
2015-06-06 | Convert all code to use StreamSocket::SendQueue | Attila Molnar | |
Let OnStreamSocketWrite see the entire sendq instead of one element at a time | |||
2015-04-15 | Remove exception handling from StreamSocket methods calling IOHooks | Attila Molnar | |
IOHooks don't throw exceptions | |||
2015-04-12 | Dispatch EventHandler events to dedicated virtual functions | Attila Molnar | |
Remove enum EventType | |||
2015-03-04 | Use the native IOVector type in StreamSocket::DoWrite() | Attila Molnar | |
2015-03-04 | Remove DISABLE_WRITEV and StreamSocket code for platforms lacking writev() ↵ | Attila Molnar | |
support | |||
2015-03-04 | Add SocketEngine::WriteV() | Attila Molnar | |
2015-01-10 | Store iovec array on the stack instead of heap allocating it for the ↵ | Attila Molnar | |
lifetime of writev() in StreamSocket::DoWrite() | |||
2015-01-10 | Remove pointless fd == INT_MAX check from StreamSocket::DoWrite() | Attila Molnar | |
2015-01-10 | Remove some unnecessary NULL checks | Attila Molnar | |
2015-01-10 | Reduce std::string::substr() usage | Attila Molnar | |
substr() returns a new string while erase() and assign() modify the existing one | |||
2014-07-10 | Remove current time parameter of the Timer constructor | Attila Molnar | |
2014-06-14 | Kill needless #includes in source files | Attila Molnar | |
2014-03-15 | Change allocation of InspIRCd::Timers to be physically part of the object ↵ | Attila Molnar | |
containing 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 | Change SocketEngine functions that do not require an instance to be static | Attila Molnar | |
2014-01-30 | Allow Timers to delete themselves in Tick() | Attila Molnar | |
2014-01-23 | Remove whitespace and minor style changes | Attila Molnar | |
2014-01-22 | Split IOHook into IOHook and IOHookProvider | Attila Molnar | |
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established. | |||
2013-12-18 | Clean up CoreException | Attila Molnar | |
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs | |||
2013-08-30 | Merge insp20 | attilamolnar | |
2013-07-14 | Use the correct socket related error messages on Windows | Adam | |
2013-07-07 | Do not send too much data over SSL in one go | attilamolnar | |
Some clients fail to read it entirely and the remaining data stays in their read buffer until new data arrives | |||
2013-06-07 | Create IOHook interface (extracted from Module) | attilamolnar | |
2013-05-19 | Fix spacing in calls to LogManager::Log. | Peter Powell | |
2013-04-28 | Merge insp20 | attilamolnar | |
2013-04-26 | Modularize DNS | Adam | |
The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. | |||
2013-04-21 | Timer changes and TimerManager enhancements | attilamolnar | |
Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded) Timers are removed from the TimerManager automatically at destruction Timers are now stored in a multimap instead of a sorted vector | |||
2013-04-16 | Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing ↵ | Adam | |
WSAEWOULDBLOCK | |||
2013-04-12 | Add LOG_ prefix to the log level enum values. | Peter Powell | |
2012-11-06 | Fix incorrect substr usage | newuser1 | |
2012-10-14 | Remove IncreaseOSBuffers() completely | attilamolnar | |
2012-10-13 | Remove no-op call to IncreaseOSBuffers() from BufferedSocket::BeginConnect() | attilamolnar | |
2012-05-28 | Use socketengine functions for sending and receiving data instead of plain ↵ | attilamolnar | |
send() and recv() so /STATS z displays correct bandwidth usage | |||
2012-04-19 | Replace copyright headers with headers granting specific authors copyright | Robby- | |
2011-04-10 | Fixed Windows build on VS 2010 | Adam | |
2010-03-27 | Block writes to pending-connect socket | Daniel De Graaf | |
2010-03-02 | Fix some more incorrect socket use | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12585 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-03-02 | Don't try quite so hard to writev() the entire buffer in one go | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12583 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-02-15 | Dump sendq before closing socket | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12469 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-02-03 | Delink servers using an SSL module that is being reloaded | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12367 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-02-01 | Correctly abort attempted socket writes on error | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12340 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-01-21 | Remove unneeded save of errno | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12309 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-01-19 | ERROR is not a valid log level, so all these messages were getting dropped | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12304 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-01-14 | Fix stripping of character prior to delimiter in StreamSocket::GetNextLine ↵ | danieldg | |
(not noticed because it was usually \r) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12257 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-12 | Fix double-cull of users quitting due to connection error | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12105 e03df62e-2008-0410-955e-edbf42e46eb7 |