aboutsummaryrefslogtreecommitdiff
path: root/include/inspsocket.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* Cleanup of some internals. Tested via m_httpd.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10527 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-121-8/+2
* Remove some duplication, everything calls the SE equivilant anyway.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10525 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-111-8/+1
* Remove useless parameter.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10524 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-111-1/+1
* Fix a comment.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10523 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-111-5/+3
* There is absolutely no need to cache connect timeout.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10512 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-111-5/+2
* Remove an unused member.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10511 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-111-6/+0
* Remove WaitingForWriteEvent, it seems to do *nothing* except confuse things. ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10509 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-111-10/+15
* Remove a totally redundant method (this is already available via inheritance ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10490 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-091-7/+0
* Remove listening from BufferedSocket, it's bloaty and horrid. We have a Liste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10470 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-081-47/+12
* Remove individual read buffers inside of BufferedSocket, use the shared netbu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9960 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-9/+0
* Remove call to FlushWriteBuffer from BufferedSocket::Write(), this means we d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9247 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-011-1/+1
* Remove deprecated BufferedSocket::MarkAsClosed()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-011-11/+0
* Commit patch from danieldg that makes a ton of stuff const-safe for latest wa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-131-1/+1