aboutsummaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-6/+6
|
* Add constexpr to the initialisation of various const static fields.Gravatar Sadie Powell2022-01-181-1/+1
|
* Remove unused time_t field from the timer system.Gravatar Sadie Powell2021-11-051-1/+1
| | | | | This is equivalent to calling InspIRCd::Now() and is only actually used in one place in modules.
* Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
|
* Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-31/+36
|
* Rip out the SwapInternals method.Gravatar Sadie Powell2021-04-191-14/+0
| | | | | This never really worked correctly and will now be replaced with something better.
* Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-3/+3
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+2
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+2
| |
* | Refactor classbase/CullResult into Cullable/Cullable::Result.Gravatar Sadie Powell2021-03-021-2/+2
| |
* | 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/+12
|\|
| * Fix secure websocket users not being seen as secure.Gravatar Matt Schatz2020-07-271-0/+12
| | | | | | | | | | | | 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.
* | Move GetNextLine from StreamSocket to TreeSocket.Gravatar Sadie Powell2020-07-201-10/+0
| |
* | Fix the case of getError/getSendQSize and rewrite the doc comments.Gravatar Sadie Powell2020-07-201-4/+4
| |
* | Split OnSetEndPoint into two events.Gravatar Sadie Powell2020-07-201-5/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-091-6/+6
|\|
| * More HasFd() conversions.Gravatar Sadie Powell2020-04-091-6/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-5/+10
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-5/+10
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-0/+14
|\|
| * Add a method for swapping user I/O handlers.Gravatar Peter Powell2019-07-211-0/+14
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-0/+20
|\|
| * Add an overload of StreamSocket::Close which closes when all data has been ↵Gravatar linuxdaemon2019-05-221-0/+20
| | | | | | | | | | written. Fixes sending large pages in m_httpd (#1646).
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-23/+2
|\|
| * Fix linking servers with UNIX sockets.Gravatar Peter Powell2019-04-151-23/+2
| | | | | | | | | | - Remove the address/port overloads of BeginConnect. - Change DoConnect to take a sockaddrs instead of an address/port.
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-7/+7
|/
* Redo OnSetEndPoint logic to fix duplicate clones (#1549).Gravatar linuxdaemon2019-01-141-0/+5
|
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-2/+2
|
* Optimize some behaviour in the core (#1476).Gravatar Dylan Frank2018-04-091-1/+1
|
* Pass an irc::socket::sockaddrs to SocketEngine::Connect().Gravatar Peter Powell2018-01-201-1/+1
|
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-3/+3
|
* Add support for multiple IOHooks per StreamSocketGravatar Attila Molnar2016-08-081-27/+101
|
* Call StreamSocket::OnDataReady() from only one placeGravatar Attila Molnar2016-08-081-4/+8
| | | | Call it whenever the recvq gets bigger than it was before the read
* Extract code that reads data into a recvq from StreamSocket::DoRead() into ↵Gravatar Attila Molnar2016-08-081-3/+13
| | | | ReadToRecvQ()
* Extract code that flushes the sendq from StreamSocket::DoWrite() into ↵Gravatar Attila Molnar2016-08-081-10/+15
| | | | FlushSendQ()
* Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ↵Gravatar Attila Molnar2016-08-081-0/+10
| | | | | | module Use it to simplify logic in all modules using or providing IOHooks
* Pass sendq to OnStreamSocketWriteGravatar Attila Molnar2016-08-081-1/+1
|
* Clean up indent in StreamSocket::DoWrite()Gravatar Attila Molnar2015-06-061-22/+6
|
* Call OnStreamSocketWrite() once per write eventGravatar Attila Molnar2015-06-061-21/+0
| | | | Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core
* Convert all code to use StreamSocket::SendQueueGravatar Attila Molnar2015-06-061-19/+12
| | | | Let OnStreamSocketWrite see the entire sendq instead of one element at a time
* Remove exception handling from StreamSocket methods calling IOHooksGravatar Attila Molnar2015-04-151-28/+3
| | | | IOHooks don't throw exceptions
* Dispatch EventHandler events to dedicated virtual functionsGravatar Attila Molnar2015-04-121-44/+54
| | | | Remove enum EventType
* Use the native IOVector type in StreamSocket::DoWrite()Gravatar Attila Molnar2015-03-041-1/+1
|
* Remove DISABLE_WRITEV and StreamSocket code for platforms lacking writev() ↵Gravatar Attila Molnar2015-03-041-38/+1
| | | | support
* Add SocketEngine::WriteV()Gravatar Attila Molnar2015-03-041-9/+1
|
* Store iovec array on the stack instead of heap allocating it for the ↵Gravatar Attila Molnar2015-01-101-7/+9
| | | | lifetime of writev() in StreamSocket::DoWrite()