aboutsummaryrefslogtreecommitdiffstats
path: root/include/inspsocket.h
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-08-251-0/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2020-07-301-0/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-07-291-0/+5
|\|
| * Fix secure websocket users not being seen as secure.•••Since a TLS (SSL) module will always be the last IOHook attached to a socket, IsSSL() needs to ignore any Middle IOHooks that may also be attached. Gravatar Matt Schatz2020-07-271-0/+5
* | Clean up the StreamSocket documentation comments slightly.Gravatar Sadie Powell2020-07-201-10/+8
* | Move GetNextLine from StreamSocket to TreeSocket.Gravatar Sadie Powell2020-07-201-6/+0
* | Fix the case of getError/getSendQSize and rewrite the doc comments.Gravatar Sadie Powell2020-07-201-4/+6
* | Split OnSetEndPoint into two events.Gravatar Sadie Powell2020-07-201-4/+9
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-10/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-3/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-0/+7
|\|
| * Add a method for swapping user I/O handlers.Gravatar Peter Powell2019-07-211-0/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-1/+13
|\|
| * Add an overload of StreamSocket::Close which closes when all data has been wr...•••Fixes sending large pages in m_httpd (#1646).Gravatar linuxdaemon2019-05-221-1/+13
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-5/+3
|\|
| * Fix linking servers with UNIX sockets.•••- Remove the address/port overloads of BeginConnect. - Change DoConnect to take a sockaddrs instead of an address/port. Gravatar Peter Powell2019-04-151-5/+3
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-7/+7
|/
* Redo OnSetEndPoint logic to fix duplicate clones (#1549).Gravatar linuxdaemon2019-01-141-1/+2
* Store the type of a StreamSocket within itself.•••Similar to with IOHooks this allows you to convert StreamSocket to a UserIOHandler quickly. Gravatar Peter Powell2018-10-251-1/+13
* Fix warnings from Doxygen.Gravatar Peter Powell2018-10-211-1/+1
* Add a module which implements the HAProxy PROXY v2 protocol.Gravatar Peter Powell2018-07-261-0/+6
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-3/+3
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-4/+9
* Fix a bunch of Doxygen warnings.Gravatar Peter Powell2017-08-261-1/+0
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-2/+2
* Add StreamSocket::SendQueue::moveall() for moving data between sendqsGravatar Attila Molnar2016-08-081-0/+7
* Add support for multiple IOHooks per StreamSocketGravatar Attila Molnar2016-08-081-2/+11
* Extract code that reads data into a recvq from StreamSocket::DoRead() into Re...Gravatar Attila Molnar2016-08-081-0/+6
* Extract code that flushes the sendq from StreamSocket::DoWrite() into FlushSe...Gravatar Attila Molnar2016-08-081-0/+6
* Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ...•••Use it to simplify logic in all modules using or providing IOHooks Gravatar Attila Molnar2016-08-081-0/+6
* Convert all code to use StreamSocket::SendQueue•••Let OnStreamSocketWrite see the entire sendq instead of one element at a time Gravatar Attila Molnar2015-06-061-6/+7
* Add class StreamSocket::SendQueueGravatar Attila Molnar2015-06-061-0/+106
* Change StreamSocket::DoRead() and DoWrite() to be non-virtual, make DoRead() ...Gravatar Attila Molnar2015-04-121-4/+8
* Dispatch EventHandler events to dedicated virtual functions•••Remove enum EventType Gravatar Attila Molnar2015-04-121-5/+20
* Remove current time parameter of the Timer constructorGravatar Attila Molnar2014-07-101-1/+1
* Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-071-11/+12
* Timer changes and TimerManager enhancements•••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 Gravatar attilamolnar2013-04-211-1/+1
* Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-3/+1
* Fix warning: "const type qualifier on return type has no effect".Gravatar Peter Powell2013-01-161-1/+1
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-051-4/+4
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+18
* Fix some of the include guard names (requested by SaberUK)Gravatar Justin Crawford2012-04-141-2/+2
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
* Fix for incorrect template application by GCC 3.4•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12285 e03df62e-2008-0410-955e-edbf42e46eb7 v2.0.0b1Gravatar danieldg2010-01-171-3/+8
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Force heap allocation of refcountbase, create usecountbase for non-allocation...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11978 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-251-2/+2
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Add explicit reference-counting base class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-1/+1
* Create StreamSocket for IO hooking implementation•••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 Gravatar danieldg2009-09-211-228/+99