summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Rebind server sockets on REHASH, closes bug #478•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8664 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-081-1/+1
* I swear I've fixed this 5 times now.. it's PERMANENT, USE A FUCKING DICTIONAR...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8658 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-071-1/+1
* Fix for bug #458: servers go missing on collision etc.•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8629 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-041-1/+2
* Change the way origins are shown in snonotice, for djGrrr :p•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8182 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-3/+3
* Change 'unrecognised command BLAH' to 'unrecognised or malformed command BLAH...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8141 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-091-1/+1
* Forgot part of the fix for bug #404•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8087 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-09-271-1/+2
* Fix for bug #421•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8081 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-251-0/+7
* Fixed an issue that could cause empty parameters in module commands to not be...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8013 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-09-021-2/+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-0/+29
* Merge in fix for invalid channels in SVSJOIN by w00t•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7853 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+3
* 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-4/+4
* backport of fix for bug #382. When colliding a nick, we didnt have : before t...•••Because of a recentish refactor of server to server kills, when killing the user, the kill handler checks for params != 2 and returns if this is true Because 'nick collision' is two words, long, it ignores the KILL and risks a desync (basically a race condition). Couldnt duplicate myself, but this *SHOULD* fix. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7773 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-201-2/+2
* Remove a whole load of #ifdef as we can now use gettimeofday.•••If we add a wrapper for getrusage, then we can remove a ton more git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7726 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-151-4/+0
* bp 7717: Fix new millisec /map to compile on windows, by ifndef gettimeofday ...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7718 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-08-131-0/+4
* Feature request from djGrr, allow changing of server to server ping frequency...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7687 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-071-1/+1
* Backport as fix, as old way was somewhat useless:•••Change latency figures in /map to milliseconds, much more useful for lag measurement than seconds git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7668 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-051-1/+4
* Manual backport of r7637 - svnmerge is still being a prick•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7638 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-031-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
* Stability fixes, some DELETEs here that dont belong any more.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7470 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-171-1/+0
* 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/+1554
* '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-1554/+1
* Clarifying comment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-101-0/+2
* 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
* remove RSQUIT2 routing hack for SQUIT now we use one param RSQUIT.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7325 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-06-151-55/+0
* This is not, not routing of SQUIT, nothing to see here, move along :>•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7301 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-06-131-0/+55
* strip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7285 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-06-131-51/+0
* 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-17/+15
* Add back remote kill handler for server origin kills•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7249 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-061-0/+27
* Patch fixing (almost) remote kill server notices, by just passing KILL onto c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-06-061-34/+0
* Somehow, the code which does the "assumption" that no prefix means 'that' ser...•••I've put it back, this would explain the commands with empty prefixes being echoed back during that java stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7131 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-241-1/+5
* This says ten minutes drift and should say five, fixed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7106 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-221-1/+1
* 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
* Reverted broken patch.. This may break, but it's unlikely :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7090 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar frostycoolslug2007-05-211-5/+11
* 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-11/+5
* Fixed a fairly low-risk crash in m_spanningtree•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7042 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-05-181-2/+8
* Change the way i/o lines are formatted in debug log to make them more intuiti...•••Thu May 17 17:56:16 2007: C[15] -> :Brain MODE #test Thu May 17 17:56:17 2007: C[15] -> :Brain WHO #test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7039 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-171-2/+2
* Add a notice on connection close stating server link uptime, and fix a bug in...•••command with the nick in twice, and has been doing this presumably since early 1.1's) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7034 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-161-0/+5
* quietbursts tweak for hirop•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7023 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-141-8/+6
* 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-0/+20
* Fix operquit notices being chopped to first word of quit message, spotted by ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6931 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-091-1/+2
* gcc fails it at exporting symbols properly :/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6894 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-061-0/+2
* Make debug warning for broken servers once per servername only•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6884 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-051-5/+6
* Add MODE nag to debug snomask +d•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6878 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-0/+17
* Apply visibility state to whois, next stop, /who•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6869 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-0/+2
* 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-23/+28
* Fix bug #259 proper by doing what I should have done back in r6618 when I fir...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-201-1/+1
* Check some userrec values in remote whois, so that it wont crash if a user ha...•••Fixes bug #260 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6814 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-191-6/+8
* 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/+17
* Revert•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1