aboutsummaryrefslogtreecommitdiff
path: root/include/inspsocket.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
* Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
* Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-2/+2
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-0/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-07-301-0/+1
* 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
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+7
* Add a method for swapping user I/O handlers.Gravatar Peter Powell2019-07-211-0/+7
* 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
* 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
* 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
* Remove unneeded #ifdef IPV6 lines•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11582 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-1/+1
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Rewrite BufferedSocket::BindAddr to actually make sense, and not infinite loo...•••Seems to work okay on an invalid bind and nonexistant bind.. Fixes bug #754, reported by HiroP and Indoril. Fix FD leak in some circumstances: if bind fails hard (requested address couldn't be bound), Close() the socket. Also fixes a deficiency of the previous commit in that if one address failed to bind, the FD would be invalidated. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11189 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-03-091-0/+4
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-2/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Be consistent. Use ServerInstance in all places instead of 'Instance' in half...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-211-1/+1
* Remove unneeded namespace stuff.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10535 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-131-5/+0
* Minor style tidyup.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10533 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-121-0/+4