Commit Graph

44 Commits

Author SHA1 Message Date
James Vega
fefe1f2806 Who would've thunk ya needed utils 2004-06-22 00:46:49 +00:00
James Vega
847227622f Fix some bugs I introduced with the conversion to utils.getSocket and improve
DCC's error checking.
2004-06-20 18:03:11 +00:00
James Vega
9d9c3020ca Add handling of opening sockets to communicate with IPV6 hosts. 2004-06-20 07:37:25 +00:00
Jeremy Fincher
e63dbb09bf I really should test these things before I commit. 2004-04-19 04:36:26 +00:00
Jeremy Fincher
54cdfdba6a Let's make sure we wait long enough to connect. 2004-04-19 04:29:36 +00:00
Stéphan Kochen
03294c8686 Same fix for asyncoreDrivers and a small cleanup. 2004-04-12 21:44:03 +00:00
Stéphan Kochen
ff3c996deb - Prevent a duplicate INFO log message.
- Forgot a return there, which would cause it to send messages on a
  disconnected driver.
2004-04-12 21:10:27 +00:00
Jeremy Fincher
edc6ea83f2 Fixed the socketDrivers problem (THANKS G-LITE{EXCLAIMEXCLAIMEXCLAIM}) 2004-04-12 20:33:11 +00:00
Jeremy Fincher
a898bdaa94 Slight rewording of log message. 2004-03-25 12:14:41 +00:00
Jeremy Fincher
f3c481d13f Removed some catching of exceptions that can never happen due to MetaFirewall. 2004-02-17 06:31:19 +00:00
Jeremy Fincher
c809cc9217 Tried to fix0r the bugz0r that wishy and I are having with failures to reconnect. 2004-02-17 01:45:30 +00:00
Jeremy Fincher
f752ad5747 Commented out some useless debug logs. 2004-02-16 08:10:50 +00:00
Jeremy Fincher
4a086e67e4 Geezle peats, I thought I fixed this already\! 2004-02-14 01:06:19 +00:00
Jeremy Fincher
38cf55ebce Made the initial log message better. 2004-02-14 00:24:32 +00:00
Jeremy Fincher
69671d55a3 Handle EINPROGRESS more appropriately (i.e., actually try to work :)) 2004-02-12 00:49:13 +00:00
Jeremy Fincher
d077e9a3fe Stopped trying to mess with stuff that we don't know how to handle; I'd rather have uglier log messages and a bot that I can figure out than otherwise. 2004-02-11 06:02:49 +00:00
Jeremy Fincher
47d81547aa Added log.firewall and log.MetaFirewall, and converted several classes to use them. 2004-02-06 09:20:47 +00:00
Jeremy Fincher
bdafdfe113 Cleaned up a few logging messages. 2004-01-21 23:35:34 +00:00
Jeremy Fincher
67db74e500 Made sure to catch exceptions in takeMsg. 2004-01-20 15:41:42 +00:00
Jeremy Fincher
dc87ed26aa Added log.timestamp. 2004-01-19 20:22:06 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher
63c64af2e4 Fixed double-killing ircs problem. 2004-01-15 12:54:31 +00:00
Jeremy Fincher
4a28fd91f5 Tweaked an error message, hopefully fixed the reconnecting problem. 2004-01-15 11:33:35 +00:00
Jeremy Fincher
e8f3b6468c Fixed some bugz0rs. 2004-01-05 12:03:54 +00:00
Jeremy Fincher
80bab37e98 Oops, gotta self it. 2004-01-04 13:54:14 +00:00
Jeremy Fincher
95c2098b5d Added some extra logging. 2004-01-03 15:51:53 +00:00
Jeremy Fincher
7c8892adb8 Fixed. 2004-01-02 22:29:14 +00:00
Jeremy Fincher
2b32ccdc7d Refactored Irc/Driver interaction. 2004-01-01 20:12:01 +00:00
Jeremy Fincher
8fc9b00c03 Don't log the 'scheduling reconnect' message if the world is dying. 2003-12-03 22:29:49 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
e65dcaab86 Allow more time for connect than for normal reads. 2003-11-25 10:34:07 +00:00
Jeremy Fincher
a4284e7924 Added __revision__ strings. 2003-11-25 08:38:19 +00:00
Jeremy Fincher
eb6e112f70 Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically). 2003-11-15 04:37:04 +00:00
Jeremy Fincher
970c819e79 Changed fix.py to munge __builtins__ rather than requiring a "from fix import *" statement. 2003-10-05 12:47:19 +00:00
Jeremy Fincher
c0eb527117 Uh, why did I raise? I don't know. Anyway, handle write errors correctly in _sendIfMsgs. 2003-09-06 07:45:47 +00:00
Jeremy Fincher
f06a552b73 Fixed bug in socketDrivers and made it less likely to happen with a fix in drivers. 2003-09-03 11:06:02 +00:00
Jeremy Fincher
1d77fa5354 Added exponential (well, 0 -> 60 -> 300) reconnect backoff. 2003-09-01 17:31:24 +00:00
Jeremy Fincher
9600ada127 Oops, thought I tested, turns out I didn't. start -> started. 2003-09-01 16:54:43 +00:00
Jeremy Fincher
a2d9e58c2a Changed format of reconnect scheduling log. 2003-09-01 16:50:56 +00:00
Jeremy Fincher
1cf1e022a2 Removed some debugging stuff (clearing msg.prefix before sending it) and added logging to match asyncoreDrivers and twistedDrivers. 2003-09-01 16:14:04 +00:00
Jeremy Fincher
2bd4a88d76 Made it reset the IRC object before reconnection, and made it catch connect errors. 2003-09-01 15:46:10 +00:00
Jeremy Fincher
35aff3f642 Added a sleep so we don\'t spin if we're the only driver. 2003-09-01 08:13:52 +00:00
Jeremy Fincher
38d1896da3 Changed to make sure every SocketDriver times out in a conf.poll length. 2003-09-01 08:11:24 +00:00
Jeremy Fincher
5313428ca7 Initial checkin. 2003-09-01 08:06:55 +00:00