Alexander Barton
|
d4ed056147
|
Numeric 317: implemented "signon time" (displayed in WHOIS result).
|
2007-10-04 15:03:55 +00:00 |
Florian Westphal
|
efcca62a35
|
last fix accidentially broke reconnect timer.
|
2007-07-21 18:46:28 +00:00 |
Florian Westphal
|
cd65e0a56e
|
Don't connect to a server if a connection to another server within the same group
is in progress.
|
2007-06-28 15:13:38 +00:00 |
Alexander Barton
|
255edf7eab
|
Reworked read and write buffer handling, introduced WRITEBUFFER_SLINK_LEN.
|
2007-05-17 23:34:24 +00:00 |
Florian Westphal
|
a073bc89c4
|
there is no need to treat servers differently than clients on the read side.
|
2007-05-17 12:39:25 +00:00 |
Florian Westphal
|
63e89ceb21
|
make needlesly global function Conn_Write static.
|
2007-05-09 13:21:11 +00:00 |
Florian Westphal
|
09416f36bf
|
remove ZBUFFER constants and increase max buffer size of server links
|
2007-05-09 08:55:14 +00:00 |
Florian Westphal
|
508b55126f
|
fix compressed server links
|
2007-05-02 12:34:30 +00:00 |
Florian Westphal
|
09deb857ce
|
- change return type of Conn_InitListeners to unsigned
- remove minor whitespace damage
|
2007-04-04 21:52:12 +00:00 |
Florian Westphal
|
99eab1e216
|
if we can't bind a socket we now Log the port number, too.
|
2007-02-21 11:06:06 +00:00 |
Alexander Barton
|
429f85b77a
|
Remove Client_DestroyNow() to keep semantik "every CONNECTON has a CLIENT".
|
2007-01-23 16:07:19 +00:00 |
Florian Westphal
|
4243cae985
|
register io handler before creating new local client structure
|
2006-12-25 01:11:12 +00:00 |
Florian Westphal
|
40226d26b2
|
revert to last good revision again 8-/
|
2006-12-17 23:04:45 +00:00 |
Florian Westphal
|
d2f7d3087d
|
do not call Conn_Close when io_event_create fails
|
2006-12-17 22:55:07 +00:00 |
Alexander Barton
|
5ce6bf28d1
|
Removed (theoretically) division by zero; reformated some code.
|
2006-07-23 23:05:20 +00:00 |
Alexander Barton
|
9a2d4eef44
|
"Enhanced" debug message for Handle_Write(), only print when data in buffer.
|
2006-07-23 15:22:56 +00:00 |
Alexander Barton
|
00ab67dcdb
|
The third parameter of bind() is of type "socklen_t", not "int".
|
2006-05-12 11:53:04 +00:00 |
Alexander Barton
|
dd3a3bc603
|
Use some more specific data types (e. g. pid_t vs. int), make "SPLint" happy :-)
|
2006-05-10 21:24:01 +00:00 |
Alexander Barton
|
2af87e9152
|
Handle time shifts backwards gracefully.
|
2006-05-09 14:49:08 +00:00 |
Florian Westphal
|
5d0ba011c7
|
Fix Connection Pool resizing.
|
2006-04-29 16:19:46 +00:00 |
Florian Westphal
|
87f4b1c6f6
|
Client_GetFromConn() removed and replaced with new function Conn_GetClient()
|
2006-04-23 10:37:27 +00:00 |
Florian Westphal
|
2a9ffe7037
|
use strlcat return value; don't call time() repeatedly.
|
2006-03-18 22:27:09 +00:00 |
Florian Westphal
|
93df629b69
|
changed connection structure to array-api
|
2006-02-16 19:21:57 +00:00 |
Florian Westphal
|
66060dbce9
|
new Function: LogDebug()
|
2006-02-08 17:33:28 +00:00 |
Florian Westphal
|
a17745d6d7
|
Make connid same as connection fd.
|
2006-02-08 15:20:21 +00:00 |
Florian Westphal
|
1249acfdba
|
removed obsolete "int Conn_MaxFD"
|
2006-02-02 21:00:21 +00:00 |
Florian Westphal
|
4b2f966b7e
|
Fix Bugzilla #64 -- ngicrd did not reconnect to other servers after failed forward dns lookup.
|
2005-12-09 09:26:55 +00:00 |
Alexander Barton
|
6b21249151
|
Remove direct call of Conf_UnsetServer(): it's already indirectly called
by Conn_Close() a few lines above.
|
2005-11-21 15:06:37 +00:00 |
Alexander Barton
|
bc09a3e487
|
Changed Handle_Write() to not close sockets itself but to call Conn_Close.
|
2005-10-11 19:29:23 +00:00 |
Florian Westphal
|
b65358b17c
|
avoid 2nd time() call in Check_Servers(), improve comments
|
2005-09-24 02:48:46 +00:00 |
Florian Westphal
|
e9f3e69f36
|
use io_close instead of plain close in Conn_ExitListeners()
|
2005-09-24 02:20:00 +00:00 |
Florian Westphal
|
5b2364b236
|
merge new resolver code
|
2005-09-12 19:10:20 +00:00 |
Florian Westphal
|
4db29b0076
|
Minimal changes (needed for merging resolver changes)
|
2005-09-11 11:42:48 +00:00 |
Florian Westphal
|
468a1c7767
|
Handle_Write(): Report write attempts on closed sockets when in debug mode.
|
2005-09-05 09:10:08 +00:00 |
Florian Westphal
|
cae9a3aee5
|
small formatting change
|
2005-09-02 17:01:23 +00:00 |
Alexander Barton
|
af9123fd82
|
Cleaned up some code, comments and log/debug messages.
|
2005-09-02 13:28:30 +00:00 |
Florian Westphal
|
c65343e719
|
reformatted a few lines.
|
2005-08-30 22:08:00 +00:00 |
Alexander Barton
|
c12dc45f17
|
Added prefix to connection statistic NOTICE.
|
2005-08-29 11:11:15 +00:00 |
Florian Westphal
|
58b8fb5d12
|
remove unneeded variable "bool action"
|
2005-08-28 16:51:20 +00:00 |
Florian Westphal
|
2f105b1c0a
|
if the request is empty, remove \r\n (or single \n or \r) from receive buffer.
|
2005-08-28 00:19:29 +00:00 |
Florian Westphal
|
a2cdc08c39
|
fix handling of empty requests
|
2005-08-27 23:42:23 +00:00 |
Alexander Barton
|
e728bd2e1a
|
Changed handling of timeouts for unregistered connections: don't reset
the counter if data is received and disconnect clients earlier.
|
2005-08-27 23:33:10 +00:00 |
Alexander Barton
|
c2f5399b51
|
Fixed format string bug in "connection statistics" message; code cleanups.
|
2005-08-15 23:02:40 +00:00 |
Alexander Barton
|
1c14e2e0a2
|
Removed some line feeds in debug statements.
|
2005-08-02 22:48:57 +00:00 |
Alexander Barton
|
77f54693ef
|
Removed unnecessary #define of "LOCAL", now use plain C "static" instead.
|
2005-07-31 20:13:07 +00:00 |
Florian Westphal
|
51ccb5928a
|
internal changes needed for future ssl support
|
2005-07-29 09:29:47 +00:00 |
Florian Westphal
|
46a191caf6
|
changed RES_STAT buffer to array
|
2005-07-28 16:13:09 +00:00 |
Alexander Barton
|
74cb2e2768
|
Eliminate some compiler warnings ("unused parameter").
|
2005-07-22 21:31:05 +00:00 |
Florian Westphal
|
efbfe4ae83
|
removed unneeded variable "bsize"
|
2005-07-13 16:06:55 +00:00 |
Florian Westphal
|
c92e57fec3
|
add better error checks for io_ routines
|
2005-07-12 20:44:46 +00:00 |