Commit Graph

3555 Commits

Author SHA1 Message Date
Jim Reid
a07cfacd85 initial draft of lwres manpages 2000-06-27 21:53:10 +00:00
Andreas Gustafsson
c4bf0b3906 don't issue warnings saying max-ncache-ttl and max-cache-ttl are
not yet implemented, because they are
2000-06-27 21:33:20 +00:00
Andreas Gustafsson
33e482fa3e edited comment, no functional change 2000-06-27 21:04:12 +00:00
Brian Wellington
d364e89bda The off by one error wasn't. 2000-06-27 18:51:51 +00:00
Michael Sawyer
d8afbf2f30 Force SIGHUP to be in state SIG_DFL when starting, since Solaris would break
that, if run from under cron.
2000-06-27 18:49:14 +00:00
Brian Wellington
9006ddc64a Fix off-by-one error and move a few lines of code. 2000-06-27 18:03:52 +00:00
Brian Wellington
031ce3bc62 Return better errors (TRAILINGDATA, not UNEXPECTEDEND), and style changes. 2000-06-27 18:03:23 +00:00
Brian Wellington
f356f1bb5d style changes 2000-06-27 18:02:12 +00:00
Brian Wellington
db118c5f26 Add a comment saying that _parseheader() isn't the right place to verify
that the buffer containing the entire packet is long enough.
2000-06-27 18:01:16 +00:00
Brian Wellington
c614882bd8 typo 2000-06-27 00:41:13 +00:00
Brian Wellington
6f4317150b remove dead code 2000-06-27 00:24:27 +00:00
Brian Wellington
50719689ef coding style 2000-06-27 00:24:12 +00:00
Brian Wellington
c1ecf4ace2 Remove declaration of REQUIRE 2000-06-26 23:35:00 +00:00
Brian Wellington
347ccc2716 Fixed a few errors in error recovery and uses of int instead of lwres_result_t 2000-06-26 23:23:28 +00:00
Andreas Gustafsson
a7d4703552 commented 2000-06-26 22:59:22 +00:00
Andreas Gustafsson
aa57fcf820 two more unchecked calls to strdup() found by Brian 2000-06-26 22:50:20 +00:00
Andreas Gustafsson
f264d3cb2c sense of strcmp() wrong; missing test of strdup() return value
(find by Brian by inspection)
2000-06-26 22:30:32 +00:00
Andreas Gustafsson
95e7cd1ecb commented 2000-06-26 22:09:49 +00:00
Michael Graff
7618ec31e3 bump restarts to 4. After 3, we change the retry times. This lets the query take longer, but it is more likely to succeed with EDNS0 if the server or the network is just slow, not broken. 2000-06-26 21:46:25 +00:00
David Lawrence
2298aec5a1 test for high bit being set in isc_file_settime needed to use an
unsigned long long constant to work correctly on platforms that have
a 64 bit timeval.tv_sec and 32 bit ints.
2000-06-26 21:33:57 +00:00
Brian Wellington
bc9470d240 *** empty log message *** 2000-06-26 21:27:14 +00:00
Michael Graff
57ebb859ee After N restarts (currently 3) try again with EDNS0 disabled. 2000-06-26 21:07:36 +00:00
Brian Wellington
e1e309c63d Removed more pointer to integer assignments. 2000-06-26 20:58:52 +00:00
Brian Wellington
234878743f Cast a pointer to an unsigned long, not an unsigned int, before doing bit
manipulations.
2000-06-26 20:39:42 +00:00
Brian Wellington
1d1d2fa57a Seed a (not really) random value with time(NULL), not the pointer value. 2000-06-26 20:30:37 +00:00
Brian Wellington
98164bc1ad Printing a size_t as either %d or %u doesn't work on some 64 bit architectures. 2000-06-26 20:27:42 +00:00
Michael Graff
a72ca8608c revert part of a previous commit. This makes net/host unreachable hard errors again. 2000-06-26 20:16:01 +00:00
Brian Wellington
0191211ce5 Casting void * to unsigned long works better than casting to isc_uint32_t 2000-06-26 18:41:06 +00:00
Michael Graff
53b63f5467 minor change to make certain 'on' is defined. This used to be used only by USE_CMSG, but is also used to turn on BSD compatibility, so test on SO_BSDCOMPAT too. 2000-06-26 18:20:25 +00:00
Michael Graff
18a8c21c77 turn on BSD compatibility to avoid the annoying linux 'return host unreachable for unconnected UDP datagrams' bug. 2000-06-26 17:48:26 +00:00
James Brister
8775909be9 282. [bug] lexer now returns ISC_R_RANGE if parsed integer is
too big for an usigned long.
2000-06-23 22:32:10 +00:00
James Brister
406ce0cd96 281. [bug] fixed list of recognised config file category names. 2000-06-23 22:30:02 +00:00
David Lawrence
c4c5c242cd when changing the name of a parameter, remember to change the uses of it. duh. 2000-06-23 22:28:22 +00:00
David Lawrence
df0036cbcd backlog argument to omapi_listener_listen was changed to unsiged 2000-06-23 22:22:24 +00:00
David Lawrence
24de6390c1 "entropy.c", line 1319: remark(1552): variable "ent" was set but never used 2000-06-23 22:06:47 +00:00
David Lawrence
438d4a305d include order lint 2000-06-23 21:43:46 +00:00
David Lawrence
48cfd6b4fc omapi_protocol_connect's port argument type changed to in_port_t. 2000-06-23 21:36:57 +00:00
David Lawrence
8ab36dee9c connect_toserver's port argument type changed to in_port_t.
socket variable renamed sock to avoid reserved name conflict.
2000-06-23 21:36:17 +00:00
David Lawrence
4b60cab173 "delete" function pointer changed to "expunge" to avoid C++ reserved word
conflict, and renamed object_methoddelete to object_methodexpunge for
consistency
2000-06-23 21:28:31 +00:00
David Lawrence
8db07dbeb9 "delete" function pointer changed to "expunge" to avoid C++ reserved word
conflict, and renamed object_methoddelete to object_methodexpunge for
consistency
2000-06-23 21:05:22 +00:00
Michael Sawyer
167f530b5b Only test rendering class for != NONE/ANY in non-update messages 2000-06-23 20:47:23 +00:00
David Lawrence
1c12b87999 "remove" structure member renamed to "delete" renamed to avoid reserved word
conflict, and renamed object_methodremove to object_methoddelete for
consistency
2000-06-23 20:30:28 +00:00
David Lawrence
17d91fddb3 279. [bug] Private omapi function symbols shared between
two or more files in libomapi.a were not namespace
                        protected using the ISC convention of starting with
                        the library name and two underscores ("omapi__"...)
2000-06-23 20:19:02 +00:00
David Lawrence
107a15b0d8 index renamed to idx to avoid reserved word conflict 2000-06-23 20:05:00 +00:00
David Lawrence
b2728187cc length should be unsigned in omapi_data_dereference 2000-06-23 20:04:25 +00:00
David Lawrence
571e433d03 argument to omapi_object_setinter should be int 2000-06-23 20:03:56 +00:00
Michael Graff
79f9369c4f gc DOIO_UNEXPECTED as it was never used 2000-06-23 19:58:38 +00:00
David Lawrence
c244584cad 276. [bug] isc_log_categorybyname() and isc_log_modulebyname()
would fail to find the first member of any category
                        or module array apart from the internal defaults.
                        Thus, for example, the "notify" category was improperly
                        configured by named.

This resolves RT #132, "Logging channels definition problems."
2000-06-23 17:52:20 +00:00
Mark Andrews
b74e3d974b comment update 2000-06-23 17:30:59 +00:00
Mark Andrews
b03a619e1d set AA in notify messages 2000-06-23 17:26:38 +00:00