Evan Hunt
8b8c2650b8
[master] change 'index' to avoid shadowed variable warning
2017-05-03 12:36:54 -07:00
Tinderbox User
1f6505a424
update copyright notice / whitespace
2017-04-22 23:45:41 +00:00
Mukund Sivaraman
03be5a6b4e
Improve performance for delegation heavy answers and also general query performance ( #44029 )
2017-04-22 09:22:44 +05:30
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mukund Sivaraman
27bc16fcdc
Lazily initialize dns_compress->table only when compression is enabled ( #41189 )
2015-12-07 12:48:57 +05:30
Witold Krecicki
bfd4b9e11a
4255. [func] Add 'message-compression' option to disable DNS compression in responses. [RT #40726 ]
2015-11-05 12:19:04 +01:00
Evan Hunt
b750a49f3f
[master] fixed memory leak in dns_compress_add()
...
4184. [bug] Fixed a possible memory leak in name compression
when rendering long messages. (Also, improved
wire_test for testing such messages.) [RT #40375 ]
2015-08-17 22:41:44 -07:00
Tinderbox User
5e93bad21b
update copyright notice / whitespace
2015-03-01 23:45:20 +00:00
Tinderbox User
34eab435ac
update copyright notice / whitespace
2015-02-27 23:45:24 +00:00
Mark Andrews
a8da00ef95
4079. [func] Preserve the case of the ownername of records to
...
the RRset level. [RT #37442 ]
2015-02-27 15:08:38 +11:00
Automatic Updater
70e5a7403f
update copyright notice
2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
641f68d427
update copyright notice
2006-03-02 00:37:23 +00:00
Mark Andrews
45e1bd6358
1991. [cleanup] The configuration data, once read, should be treated
...
as readonly. Expand the use of const to enforce this
at compile time. [RT #15813 ]
2006-02-28 02:39:52 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
408767b505
update copyright notice
2005-03-06 15:30:37 +00:00
Mark Andrews
39c7fc7e00
1811. [func] Preserve the case of domain names in rdata during
...
zone transfers. [RT #13547 ]
2005-03-04 02:56:21 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
c569a0e4d5
1582. [bug] rrset-order failed to work on RRsets with more
...
than 32 elements. [RT #10381 ]
2004-02-19 01:23:42 +00:00
David Lawrence
92ef1a9b9d
use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land
2001-06-04 19:33:39 +00:00
Brian Wellington
507102c95a
In dns_compress_invalidate(), cctx->table cannot be NULL, since it's part of
...
the cctx structure.
2001-02-15 01:14:16 +00:00
Brian Wellington
29daf5bc77
The suffix returned by dns_compress_findglobal() is never used, so remove it.
2001-02-12 18:07:52 +00:00
Brian Wellington
82ecc44b96
another micro-optimization.
2001-02-10 02:55:05 +00:00
Brian Wellington
64e7f8541d
optimization - if the compression table for a message is empty, don't
...
hash and look up each label.
2001-02-10 01:18:19 +00:00
Brian Wellington
2d6a6174f1
micro-optimizations
2001-02-09 02:13:07 +00:00
Brian Wellington
5d18f1205a
remove the call to dns_name_getlabel(), since the dns_name_toregion() macro
...
is faster.
2001-01-23 02:19:48 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
b363c64ed6
sizeof() style; added comment
2001-01-07 22:01:12 +00:00
Brian Wellington
1c33761bcf
Minor optimization - use the number of labels in the prefix as the loop
...
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington
60103a02c6
Update the comments and kill unused structure elements, based on comments from
...
Mark.
2001-01-04 06:21:01 +00:00
Brian Wellington
dacf0cc454
Merged the private functions compress_add and compress_find into
...
dns_compress_add and dns_compress_findglobal.
2000-12-29 19:38:50 +00:00
Brian Wellington
bb88eab95f
fix an uninitialized variable; reformat some >80 character lines
2000-12-29 18:49:36 +00:00
Brian Wellington
575737b964
Rewrite the name compression code to use a hashtable instead of an RBT and
...
avoid allocating memory in most cases. This increases performance by
about 225% on the rc query test (~305 q/s to 990 q/s).
2000-12-29 00:59:41 +00:00
Brian Wellington
942d1a339b
Decompression contexts now take a type instead of the "strict" boolean
...
value - the type can be "any", "strict", or "none". This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
35c0626628
Don't ever send GLOBAL16 compression, not even if edns>=1. Since the
...
edns1 I-D has expired, no one knows what edns level 1 will mean, and it may end up not
implying support for GLOBAL16. We are still liberal in what we accept; GLOBAL16
is accepted in packets we receive.
2000-05-04 22:36:24 +00:00
Andreas Gustafsson
94a08e09db
Check for edns1 and strict decompression once and for all in
...
dns_[de]compress_setmethods instead of separately in every caller
2000-05-04 22:19:34 +00:00
David Lawrence
09f22ac5b0
Redundant header work, mostly removing <dns/result.h> from installed
...
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +00:00
Bob Halley
89b117b756
performance improvements
2000-04-27 21:46:31 +00:00
David Lawrence
a231769eaa
Made compress_add and compress_find static to lib/dns/compress.c
2000-04-27 00:08:44 +00:00
David Lawrence
6e49e91bd0
103. [func] libisc buffer API changes for <isc/buffer.h>:
...
Added:
isc_buffer_base(b) (pointer)
isc_buffer_current(b) (pointer)
isc_buffer_active(b) (pointer)
isc_buffer_used(b) (pointer)
isc_buffer_length(b) (int)
isc_buffer_usedlength(b) (int)
isc_buffer_consumedlength(b) (int)
isc_buffer_remaininglength(b) (int)
isc_buffer_activelength(b) (int)
isc_buffer_availablelength(b) (int)
Removed:
ISC_BUFFER_USEDCOUNT(b)
ISC_BUFFER_AVAILABLECOUNT(b)
isc_buffer_type(b)
Changed names:
isc_buffer_used(b, r) ->
isc_buffer_usedregion(b, r)
isc_buffer_available(b, r) ->
isc_buffer_available_region(b, r)
isc_buffer_consumed(b, r) ->
isc_buffer_consumedregion(b, r)
isc_buffer_active(b, r) ->
isc_buffer_activeregion(b, r)
isc_buffer_remaining(b, r) ->
isc_buffer_remainingregion(b, r)
Buffer types were removed, so the ISC_BUFFERTYPE_*
macros are no more, and the type argument to
isc_buffer_init and isc_buffer_allocate were removed.
isc_buffer_putstr is now void (instead of isc_result_t)
and requires that the caller ensure that there
is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Bob Halley
41c82f9355
conform to RBT API change
2000-04-19 18:27:24 +00:00
David Lawrence
7b4e52d119
include dns/rbt.h
2000-04-12 21:25:10 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
David Lawrence
ecb6c5782e
exorcized local compression
2000-03-23 05:18:46 +00:00
Andreas Gustafsson
2539896175
do not indent CVS ID comment
2000-03-17 17:49:37 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00