summaryrefslogtreecommitdiff
path: root/src/core/servers-reconnect.c
AgeCommit message (Collapse)Author
2002-12-28Added time, size and level setting types. Breaks some settings - I'll addTimo Sirainen
automatic converter to these settings later. Meanwhile you CVS users can fix your config files yourself :) Time settings allow using "days", "hours", "minutes", "seconds" and "milliseconds" or several of their abbreviations. For example "5d 4h 5msecs". Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their abbrevations. For example "5MB". Level settings are currently handled pretty much the way they were before. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19Timeout server connections if they're not in fully connected stage in /SETTimo Sirainen
server_connect_timeout seconds. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14updated /reconnect syntax.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14/RECONNECT <tag>|* [<quit message>] - if tag is a connected server tag thatTimo Sirainen
server is reconnected with specified quit message. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-30If reconnection was aborted by trying to reconnect to another server, theTimo Sirainen
channels and usermode wasn't restored. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-07banned/dns_error state was set to servers in setup, but never reset, whichTimo Sirainen
means irssi stopped reconnecting to those servers forever if they occured once. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26Added OpenSSL support by vjt@users.sf.net. Also fixes a possible crash afterTimo Sirainen
using /SERVER ADD -ircnet. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-20/UPGRADE was broken, changed again the server connection code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-03if /CONNECT -! ircnet couldn't connect to first server, next was tried butTimo Sirainen
-! was forgotten. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2653 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22Never reconnect immediately to server when server is being disconnected -Timo Sirainen
this could lead scripts (or maybe even irssi itself) handle the partially disconnected server wrong. Also moved the server->disconnected = TRUE before the "server disconnected" signal is sent, this makes sure the server_disconnect() is never called twice. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22Added /SET proxy_string_after setting which gets sent after NICK/USER, bncTimo Sirainen
wants this. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06/UPGRADE broke reconnections to server.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01/UPGRADE shouldn't begin server reconnections in old client.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25Doing /RECONNECT while server was still being connected to, irssiTimo Sirainen
didn't disconnect the server so you ended up having two connections. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03/RECONNECT ALL crashed irssi (typofix - s/unref/ref/ :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1959 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Added reference counter to SERVER_CONNECT_REC. Since it's being moved aroundTimo Sirainen
a lot in reconnects etc. this should make it easier to track when it's supposed to be destroyed. Hopefully fixes a crash I assume is related to this but couldn't find.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27Using different ports in one server for different chat networks didn't workTimo Sirainen
properly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1580 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-08Try to keep the number after server tag always the same when there'sTimo Sirainen
multiple connections to the same server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1540 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20added /SET proxy_passwordTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-14Reconnecting shouldn't lose the address family.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07If one server fails because of DNS error, don't stop reconnecting toTimo Sirainen
entire chatnet. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04Send "chat protocol deinit" signal when protocol is beingTimo Sirainen
deinitialized. Servers and reconnections are automatically disconnected for the protocol when it's being deinitialized. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory andTimo Sirainen
at connect() time it's decided which one should be used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19/RECONNECT ALL - reconnects to all servers in reconnection queueTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1253 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19/RECONNECT reconnects now to server with identical settings.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19Connection updates: moved /SERVER and /CONNECT to core from irc.Timo Sirainen
Several other related multiprotocol updates. Removed /SILCSERVER from SILC, /CONNECT and /SERVER should work properly now. Rejoining channels after reconnection works. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01Added/moved several "typedef struct _XXX XXX;" to common.h so thatTimo Sirainen
they're known to all files and I don't need those stupid "void *xxx" anymore just to avoid useless #include. Header files themselves don't either include others as often anymore. Added channel->ownnick to point to our NICK_REC in channel's nicks. Gives a minor speedup in few places :) Moved completion specific lastmsgs from channel/server core records to fe-common/core specific records. Also changed the nick completion logic a bit so it should work better now. Removed completion_keep_publics_count setting, but changed the meaning of completion_keep_publics to same as _count was before. Nick completion doesn't have any time specific code anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-09Don't crash with /reconnect <unknown tag>Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03/RECONNECT without any parameters and when not connected to any serverTimo Sirainen
reconnects to first server in reconnect list. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26Added some magic to /SERVER - if there's no server to disconnect fromTimo Sirainen
in active server, irssi checks if some reconnection should be used instead. If there's one reconnection, /SERVER always uses it. If there's reconnection to same host, it will be used (+same port is preferred) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@870 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14[irc_]channels_setup_[de]init() calls were in wrong places.Timo Sirainen
Reconnection forgot to join to old channels after the first reconnection try. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30multiprotocol updates. SILC prints channel and private messages nowTimo Sirainen
using the same message formats as IRC. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27Moved /DISCONNECT to core, other multiprotocol fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-02Updates.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564