summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket1.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix: trying to send out all lines in one hit is different from the way we do ...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8946 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-161-20/+16
* More tweaks•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8840 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-051-1/+1
* This should work a bit better, voidzero. If someone had told me it was sepera...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-051-1/+1
* Backport r8810: minor FTOPIC desync fix•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8811 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-031-3/+4
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Backport: Add SVSPART at request of the Anope team - You can tell if the serv...•••No, we will NOT be enforcing this network-wide, its a server-origin command so it wont cause disconnects if it doesnt exist somewhere. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7983 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-1/+1
* Fix for bug #398, when someone does /rconnect and the connection fails, more ...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7827 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-261-13/+11
* Add some stuff to change how we process a token sepeperated stream•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7801 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-6/+7
* Backport display glitch fix found by djGrrr, fixed by w00t•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-091-1/+1
* Merge r7528-7529 from trunk•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7530 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-231-0/+3
* Ive tidied up the mode count stuff, but i still cant duplicate negative invis...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7474 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-181-1/+5
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+1273
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1273/+1
* Check for TS==0 in FJOIN•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7406 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-241-0/+7
* Drop fmode with TS of 0, just in case any craq smoking services devs get the ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7405 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-241-0/+7
* Fix for atheme support (and others) which makes sure CAPAB is always sent bef...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-241-0/+6
* - Fixed fencepost error in apply_other_sides_modes.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7315 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-141-1/+1
* + Added a check between servers prefixes at the CAPAB negotiation stage. This...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7312 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-141-0/+3
* A ton more clear() and empty() stuff thats been lingering on the long term to...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-19/+14
* Move inspircd.h to top•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7099 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* Send CHANMODES= and PREFIX= in CAPAB CAPABILITIES.•••Sorry, if you encounter a server < 1.1.8, youll have to guess by module name. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7055 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-201-1/+1
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-0/+6
* We dont need to send FMODE for user mode changes, and the FMODE handler doesn...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7017 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-131-1/+1
* Fix remote bursting with quietbursts, before QA actually test it :P (thanks H...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7014 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-131-3/+0
* Better logging to troubleshoot silentbursts•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7013 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-131-2/+5
* Change some stuff around to make sure metadata/fmode comes after nick list if...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-8/+10
* remove EB metadata madness and make services people happy.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6956 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-1/+8
* Small api change with wide reaching effects in modules - Allows modification ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6934 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-1/+1
* Fix ping timeout ERROR not being generated when a server pings out, making th...•••Find and fix the 3 ping timeout messages for server to server that were using WriteOpers instead of snomask +l git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6933 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-091-5/+6
* - (FINALLY, ffs) add realnames to connect/remote connect server notices, per ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6920 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-081-1/+1
* Correct the silentbursts logic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6908 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-4/+2
* Slightly tidier capab checks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6906 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-22/+22
* Needs a little testing: Tidyup of some code, namely when validating the lengt...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6905 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-55/+21
* Fix channel TS not being set correctly on creation of new channel•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-4/+1
* Developers, please review ForceJoin starting at line 730 of this file. It nee...•••Now uses modestacker rather than trying to do this itself with lots of char* craq. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6903 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-161/+46
* A bit more debug in here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6902 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-18/+8
* Add bugnotice when an fmode is sent with a TS < ours. This should in theory n...•••FJOIN, and FJOIN lowers the TS to be = ours if its greater. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-0/+3
* FTOPIC from another server now (correctly) shows local server name to obscure...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-1/+1
* Add options:quietbursts, fixes bug #269, also adds support for quits in a cul...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6883 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-1/+5
* Much more detailed logging of lowlevel socket errors to the +l snomask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-011-17/+28
* Fix crashbug in latest svn introduced by inspsocket cull list, which can caus...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6855 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-011-0/+8
* Make error reporting work properly, it seemed to loose errors.•••First change: Add a culling list of inspsockets waiting to be closed, so the close() is less likely to be called before the buffer is entirely empty. This seems to work well on my LAN. Second change: Add a SendError() method, rather than WriteLine("ERROR : ..."). This can be used to effect by also echoing out "Sent ERROR to %s: ..." onto the +l snomask meaning at least one end will always see the error even if the ERROR command is lost due to latency or design of the transport (e.g. ssl which may be writing during a read event etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6844 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-261-3/+9
* dhost and host are both char[65], so let stringcopy take up to 64 chars here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6833 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-251-2/+2
* Fix for bug that took ages to track down and was very subtle.•••During authentication the flow of commands is as follows: > SERVER aaaaaa < SERVER bbbbbb > BURST < BURST ... what can happen is that between the two server commands we can introduce SERVER aaaa to server bbbbb again, from a different socket. As server aaaaa doesnt exist yet and we're waiting for it to say yes or no to our own SERVER command over at bbbbbb, it cant be found with FindServer. Therefore we need a second list of servers that arent yet authenticated, but are waiting TO authenticate, by the pointer their socket has and the name they want to become after auth. If two servers introduce themselves at the same time, triggering what was the race condition, both servers are disconnected with "ERROR :Negotiation collision" and must try again until only one succeeds. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-0/+2
* The hmac stuff was slightly wrong, calculating the 2nd part•••left a concatenation outside the bracket git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6787 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+2
* D'oh, this is what causes it to randomly not allow the HMAC, when theres an =...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6786 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+4
* And spell it right.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Minor change, easy to roll back if it fucks up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6784 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+6
* Whoopsie•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Wait longer before sending data on the connect than on the accept•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6782 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+2