aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.cpp
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-02-011-3/+3
|\
| * Fix splitting servers multiple times in some cases.Gravatar Sadie Powell2022-02-011-1/+1
| * Fix duplicate messages when a server connection errors.Gravatar Sadie Powell2022-02-011-2/+2
* | Always use ExtractTS to extract timestamps from S2S messages.Gravatar Sadie Powell2021-09-101-1/+1
* | Migrate collections from insert to emplace.Gravatar Sadie Powell2021-04-181-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+2
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-2/+2
* | Fix the case of getError/getSendQSize and rewrite the doc comments.Gravatar Sadie Powell2020-07-201-1/+1
* | Rip out compatibility code for the 2.0 protocol.Gravatar Sadie Powell2020-05-201-7/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-091-1/+1
|\|
| * More HasFd() conversions.Gravatar Sadie Powell2020-04-091-1/+1
* | Move FindUUID to the UserManager class.Gravatar Sadie Powell2020-02-091-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-4/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-1/+1
|\|
| * Add whether the server split with an error to OnServerSplit.Gravatar Peter Powell2019-09-231-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-09-231-5/+5
|\|
| * Lower the acceptable drift for clocks on link.Gravatar Peter Powell2019-09-201-5/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-14/+17
|\|
| * Add an enumeration for known protocol versions.Gravatar Peter Powell2019-05-141-1/+1
| * Replace ModuleSpanningTree::TimeToStr with InspIRCd::DurationStr.Gravatar Peter Powell2019-05-141-1/+1
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-4/+4
| * m_spanningtree: Parse and copy message tags for all cmds•••Don't ignore message tags on ServerCommands, and avoid creating duplicate CommandBase::Params instances Gravatar linuxdaemon2019-04-281-7/+10
| * m_spanningtree: Ensure tags are sent in forwarded cmds•••When a user (U1) sends a PRIVMSG to a server (S1), which sends it to S2, which finally sends it to S3 to send to U2, S2 doesn't send the tags it received on the command from S1 to S3. Gravatar linuxdaemon2019-04-281-2/+2
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-5/+5
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-3/+3
|/
* Rename OnClientProtocolProcessTag to OnProcessTag.Gravatar Peter Powell2019-01-221-1/+1
* Improve the spanningtree "unknown command" error message.Gravatar Peter Powell2019-01-031-1/+1
* Fix message tags not being broadcast across the network.Gravatar Peter Powell2019-01-021-22/+63
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. Gravatar Peter Powell2018-12-121-1/+1
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-1/+2
* Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.•••This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously. Gravatar Peter Powell2018-08-101-3/+3
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-5/+5
* m_spanningtree Ignore incoming BURST command in CONNECTED stateGravatar Attila Molnar2016-04-131-0/+5
* m_spanningtree Try FindServerID() first if the prefix looks like a sid in Tre...Gravatar Attila Molnar2015-12-071-7/+17
* Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-1/+1
* Merge insp20Gravatar Attila Molnar2014-10-271-3/+3
|\
| * Fix various warnings when building with LLVM 3.5.•••- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] Gravatar Peter Powell2014-10-131-3/+3
| * m_spanningtree Always treat the remote client as the winner on nick collision...Gravatar Attila Molnar2014-07-241-1/+1
| * m_spanningtree Forward NICK messages when they cause a collision with the new...•••Suppressing these messages meant that we relied on an appropriate NICK to come from the direction the SAVE was sent to; this left all servers behind us uninformed until the target server of the SAVE reacted with a nick change to uuid. This was problematic because someone can legitimately change nick to the past nick of the SAVEd user on a server that already has the SAVEd user with the uuid nick and that nick change message can reach servers that haven't yet seen the nick change to uuid of the SAVEd user. Gravatar Attila Molnar2014-06-061-7/+7
* | m_spanningtree Move squit logic into TreeServer from TreeSocketGravatar Attila Molnar2014-07-281-1/+1
* | m_spanningtree Remove now needless TreeSocket::ConnectionFailureShownGravatar Attila Molnar2014-07-281-10/+6
* | m_spanningtree Ensure that TreeSocket::Close() only runs onceGravatar Attila Molnar2014-07-281-2/+4
* | m_spanningtree Add TreeServer::BeginBurst() that marks a server as bursting•••Don't mark servers as bursting in the constructor Gravatar Attila Molnar2014-07-271-0/+2
* | m_spanningtree Don't send needless BURST after introducing a server•••Synthesize a BURST after SERVER for 1202 protocol servers if we are not bursting Gravatar Attila Molnar2014-07-271-2/+0
* | m_spanningtree Remove unused parameters from the server introduction message•••This does not affect the initial SERVER message containing the password Gravatar Attila Molnar2014-07-271-1/+0