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 |
Florian Westphal
|
248d75e566
|
fix embarassing buffer-off-by one
|
2005-07-11 20:58:05 +00:00 |
Florian Westphal
|
4715b17106
|
make Conn_NewListener local to conn.c
|
2005-07-11 14:56:38 +00:00 |
Florian Westphal
|
70facb7f6e
|
made a few config options unsigned.
|
2005-07-11 14:11:35 +00:00 |
Florian Westphal
|
e50d049074
|
minor cosmetic changes
|
2005-07-09 21:35:20 +00:00 |
Alexander Barton
|
02b0a51517
|
Renamed "Rendezvous" to "Zeroconf".
|
2005-07-08 16:18:38 +00:00 |
Florian Westphal
|
0d180a913f
|
use new io event API.
|
2005-07-07 18:49:04 +00:00 |
Alexander Barton
|
9a6b6f527b
|
Handle oversized messages which should be sent to the network better.
|
2005-07-02 14:36:03 +00:00 |
Alexander Barton
|
0e3ce63ec1
|
Fix compiler warning "comparision between signed and unsigned".
|
2005-06-26 13:43:59 +00:00 |
Florian Westphal
|
1cf8ccd8fe
|
Make sure SimpleMessage() sends <= 512 chars
|
2005-06-12 17:21:46 +00:00 |
Alexander Barton
|
5195555c5a
|
Removed CONNECTION[].starttime, now saved in CLIENT structure.
|
2005-06-12 16:28:55 +00:00 |
Florian Westphal
|
ae98008c1c
|
remove Try_Write(), Call Handle_Write() directly instead.
|
2005-06-04 11:49:20 +00:00 |
Florian Westphal
|
8ac701d6c8
|
add FreeRes_stat(), wait for resolver timeout.
|
2005-06-01 21:28:50 +00:00 |
Alexander Barton
|
cd0dc8627d
|
Don't exit server if closing of a socket fails; instead ignore it and
pray that this will be "the right thing" ...
|
2005-05-22 23:55:57 +00:00 |
Florian Westphal
|
e7c2c86aee
|
removed "my_connects" fd_set.
|
2005-04-23 14:28:44 +00:00 |
Florian Westphal
|
8304210c06
|
fix spelling
|
2005-04-16 20:50:03 +00:00 |
Florian Westphal
|
b4363162ce
|
s/malloc(x*y)/calloc(x,y)/
|
2005-04-16 09:19:49 +00:00 |