]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Fri, 12 Apr 2013 14:29:23 +0000 (19:59 +0530)]
[2831] Reset the parent's segment before forking
Though we won't have two readers at the same time, it's best we
reset the segment so that it's not carried over for the child
to use accidentally.
Mukund Sivaraman [Fri, 12 Apr 2013 14:27:53 +0000 (19:57 +0530)]
[2831] Fix the segment that is used from the child
Mukund Sivaraman [Fri, 12 Apr 2013 14:23:04 +0000 (19:53 +0530)]
[2831] Close remaining pipe fd after using it
Mukund Sivaraman [Fri, 12 Apr 2013 14:19:46 +0000 (19:49 +0530)]
[2831] Use ASSERT_NE with pointer value
Boolean testing also works, but in the test it's easier to remember
that it's a pointer.
Mukund Sivaraman [Fri, 12 Apr 2013 14:11:04 +0000 (19:41 +0530)]
[2831] Check that the segment actually shrunk
Mukund Sivaraman [Fri, 12 Apr 2013 14:05:57 +0000 (19:35 +0530)]
[2831] Iterate over the source data instead of using redundant data
The order is now non-reverse (i.e., sorted order), but it is anyway
better we delete in the same order we insert so the first in is first
out.
Mukund Sivaraman [Fri, 12 Apr 2013 14:03:04 +0000 (19:33 +0530)]
[2831] Make minor comment updates
Paul Selkirk [Fri, 12 Apr 2013 01:27:25 +0000 (21:27 -0400)]
[2832] add value checking for 'cache-type'
Mukund Sivaraman [Thu, 11 Apr 2013 13:58:52 +0000 (19:28 +0530)]
[2381] Change more occurences of 0 to NULL
Tomek Mrugalski [Thu, 11 Apr 2013 12:52:21 +0000 (14:52 +0200)]
[2898] Documentation for v6 relays written
Stephen Morris [Thu, 11 Apr 2013 12:30:32 +0000 (13:30 +0100)]
[2467] Removed "raw" pointers from b10-dhcp4/6 tests
Tomek Mrugalski [Thu, 11 Apr 2013 12:05:25 +0000 (14:05 +0200)]
[2898] Support for v6 relayed traffic added.
Stephen Morris [Thu, 11 Apr 2013 10:55:01 +0000 (11:55 +0100)]
[2467] Removed "raw" pointers from dhcpsrv tests
Also tidied up a few comments.
Marcin Siodelski [Thu, 11 Apr 2013 10:45:10 +0000 (12:45 +0200)]
[master] Removed memory leak in dhcp4_srv_unittest.
Michal 'vorner' Vaner [Thu, 11 Apr 2013 09:32:36 +0000 (11:32 +0200)]
Merge #2877 (the rest)
Clean-ups so one doesn't have to pass the hash twice when deleting an NSEC3
record.
Michal 'vorner' Vaner [Thu, 11 Apr 2013 09:19:07 +0000 (11:19 +0200)]
[2738] Note about libraries
Michal 'vorner' Vaner [Thu, 11 Apr 2013 08:56:02 +0000 (10:56 +0200)]
[2738] Restructure the document
Restructure it so the levels are more separated, terms are defined, etc.
Marcin Siodelski [Thu, 11 Apr 2013 08:22:24 +0000 (10:22 +0200)]
[master] Added Changelog entry for #991.
Marcin Siodelski [Thu, 11 Apr 2013 06:53:09 +0000 (08:53 +0200)]
[master] Merge branch 'trac991'
Naoki Kambe [Thu, 11 Apr 2013 01:42:24 +0000 (10:42 +0900)]
[2252] treat an xfr request as success with an XfrinZoneUptodate raised
Naoki Kambe [Wed, 10 Apr 2013 10:36:22 +0000 (19:36 +0900)]
[2252] check an xfrfail incremented with multiple exceptions
check an xfrfail counter incremented exactly by raising intentionally
multiple expected failure exceptions in a row
Naoki Kambe [Tue, 9 Apr 2013 12:16:24 +0000 (21:16 +0900)]
[2252] update a fake class name to camel convention including a typo fix
Naoki Kambe [Wed, 10 Apr 2013 10:09:24 +0000 (19:09 +0900)]
[2252] make the references class-local: _orig_datetime, _orig_start_timer
Naoki Kambe [Wed, 10 Apr 2013 10:04:19 +0000 (19:04 +0900)]
[2252] remove exceptional cases when checking initial statistics of Xfrout
On my environment socket.unixdomain.open happened to count to 1
before, but now it no longer happen. If it happens in future again, we
need to investigate why it happens, and then fix a issue or add a
workaround.
Naoki Kambe [Wed, 10 Apr 2013 09:47:39 +0000 (18:47 +0900)]
[2252] remove some constant definitions from the class scope
- remove some constant definitions from the class scope:
master_addrinfo, name_to_counter, zones, ipver
- add getter properties and instance objects instead of this removal
- define these variables as private or class-local by adding one or
two underscores into their prefixes
Naoki Kambe [Tue, 9 Apr 2013 11:27:52 +0000 (20:27 +0900)]
[2252] revise description of zonename (add 'e.g.' before the zone classes)
Naoki Kambe [Wed, 10 Apr 2013 07:33:15 +0000 (16:33 +0900)]
[2252] update descriptions of last_ixfr_duration and last_axfr_duration
- revise to understand more easily
- express a failure case instead of using an implement detail as "timer"
- switch the order of last_ixfr_duration and last_axfr_duration
Naoki Kambe [Mon, 8 Apr 2013 05:53:20 +0000 (14:53 +0900)]
[2252] use 127.0.0.1:47809 as address and port of the primary server in lettuce
127.0.0.1:47807 seems to be used by another application in Mac OS X.
47808 is currently registered by IANA. As a result 47809 is here chose as a
new number. For details about the reason, please see a note:
tests/lettuce/configurations/DO_NOT_USE_127.0.0.1:47807.
JINMEI Tatuya [Wed, 10 Apr 2013 22:01:02 +0000 (15:01 -0700)]
[master] editorial: folded long lines.
JINMEI Tatuya [Wed, 10 Apr 2013 21:31:07 +0000 (14:31 -0700)]
[2831] make sure BOOST_NUMERIC_CAST_WOULDFAIL is set in all cases
also, corrected incorrect reset of CXXFLAGS
JINMEI Tatuya [Wed, 10 Apr 2013 21:12:58 +0000 (14:12 -0700)]
[2831] corrected a typo
JINMEI Tatuya [Wed, 13 Mar 2013 21:56:11 +0000 (14:56 -0700)]
[2831] corrected the position of BOOST_MAPPED_FILE_CXXFLAG
JINMEI Tatuya [Wed, 13 Mar 2013 21:55:30 +0000 (21:55 +0000)]
[2831] set -Wall and -Wextra to detect possible warnings more accurately.
JINMEI Tatuya [Wed, 13 Mar 2013 21:26:20 +0000 (14:26 -0700)]
[2831] allow skipping build sh-mem support. set -Wno-error if necessary.
JINMEI Tatuya [Wed, 13 Mar 2013 21:24:31 +0000 (14:24 -0700)]
[2831] detect buildability of managed_mapped_file, w/ or w/o -Werror.
Thomas Markwalder [Wed, 10 Apr 2013 21:02:10 +0000 (17:02 -0400)]
[2355] Initial commit of refactoring bin/dchp4 and bin/dchp6
configuration parsing classes into a common set of classes
in lib/dhcpsrv. Moved most of the parsers classes into
new files dhcp_parsers.h/cc. Eliminated use of global
variables within common parsers.
Stephen Morris [Wed, 10 Apr 2013 19:11:00 +0000 (20:11 +0100)]
[2467] Replace "raw" pointers with scoped pointers in libdhcp tests
Also tidy up a few comments.
JINMEI Tatuya [Wed, 10 Apr 2013 18:58:24 +0000 (11:58 -0700)]
[2831] updated rw ctor so that we can create a new segment, removing old one.
also clarified that in other read-write open existing file isn't modified.
JINMEI Tatuya [Wed, 10 Apr 2013 18:13:00 +0000 (11:13 -0700)]
[2831] added note about too small initial_size, and added a test for the case.
JINMEI Tatuya [Wed, 10 Apr 2013 17:44:08 +0000 (10:44 -0700)]
[2831] clarifed the intent of the assert() in growSegment().
JINMEI Tatuya [Wed, 10 Apr 2013 17:38:00 +0000 (10:38 -0700)]
[2831] simplified code a bit using static_cast instead of memcpy
JINMEI Tatuya [Wed, 10 Apr 2013 17:24:24 +0000 (10:24 -0700)]
[2831] added a test to have another process open and read mapped memory
JINMEI Tatuya [Wed, 10 Apr 2013 17:03:16 +0000 (10:03 -0700)]
[2831] extracted interproc synchronization utility from syncfile test
so we can share it with memory-sement-mapped.
JINMEI Tatuya [Wed, 10 Apr 2013 16:32:08 +0000 (09:32 -0700)]
[2877] editorial: combined two short lines
JINMEI Tatuya [Wed, 10 Apr 2013 16:28:11 +0000 (09:28 -0700)]
[2877] style fix: folded a long line.
JINMEI Tatuya [Wed, 10 Apr 2013 16:23:09 +0000 (09:23 -0700)]
[2877] corrected a typo (one made by myself in a previous commit)
Thomas Markwalder [Wed, 10 Apr 2013 14:54:35 +0000 (10:54 -0400)]
[master] Added ChangeLog entry 602.
Thomas Markwalder [Wed, 10 Apr 2013 14:52:25 +0000 (10:52 -0400)]
[master] Merge branch 'trac2770' moves b10-dhcp4 and b10-dhcp6 server id
files into --localstatedir/bind10.
Marcin Siodelski [Wed, 10 Apr 2013 13:41:24 +0000 (15:41 +0200)]
[991] Use pktinfo to pass control messages on Linux only.
Michal 'vorner' Vaner [Wed, 10 Apr 2013 13:31:43 +0000 (15:31 +0200)]
[2877] Don't overload interface
Provide separate list of parameter strings for deleting NSEC3 records.
It is cleaner to have separate enum for listing the parameters needed to
delete NSEC3 than re-using generic delete parameters and having the hash
passed twice.
Thomas Markwalder [Wed, 10 Apr 2013 12:06:32 +0000 (08:06 -0400)]
[master] Added entry 602.
Thomas Markwalder [Wed, 10 Apr 2013 12:03:33 +0000 (08:03 -0400)]
[master] Merge branch 'trac2784' correct perfdhcp crash on mismatched
command line parameters.
Stephen Morris [Wed, 10 Apr 2013 11:38:48 +0000 (12:38 +0100)]
[2784] Minor change to error message when wrong IP switch is used
Mukund Sivaraman [Wed, 10 Apr 2013 07:58:57 +0000 (13:28 +0530)]
Merge branch 'trac2387'
Mukund Sivaraman [Wed, 10 Apr 2013 07:55:24 +0000 (13:25 +0530)]
[2387] Revert "Add some assertions anyway"
This reverts commit
65f68f7b9235307f8af029b37ebc7c2a309ed7e9 .
Michal 'vorner' Vaner [Wed, 10 Apr 2013 07:17:28 +0000 (09:17 +0200)]
Changelog for #2877
Michal 'vorner' Vaner [Wed, 10 Apr 2013 07:11:12 +0000 (09:11 +0200)]
Merge #2877
Fix SQLite backend so the deletes are not so slow.
This is the urgent part of the fix; we'll have another half of the branch
later, to clean up some details.
JINMEI Tatuya [Wed, 10 Apr 2013 03:56:14 +0000 (20:56 -0700)]
[2831] removed unnecessary flush before reset() (as the dtor calls flush)
JINMEI Tatuya [Wed, 10 Apr 2013 03:34:29 +0000 (20:34 -0700)]
[2831] check two different addressed from getNamedAddress can share the data.
JINMEI Tatuya [Wed, 10 Apr 2013 03:15:48 +0000 (20:15 -0700)]
[2831] added a test checking named data survive grow/shrink
Paul Selkirk [Wed, 10 Apr 2013 02:48:23 +0000 (22:48 -0400)]
[2521] add MasterLexer constructor for DHCID
Paul Selkirk [Wed, 10 Apr 2013 02:45:17 +0000 (22:45 -0400)]
[2521] enabled previously disabled rrsig test
also changed createFromLexer from static function to private method
JINMEI Tatuya [Tue, 9 Apr 2013 23:46:59 +0000 (16:46 -0700)]
[2831] corrected example code in doc
JINMEI Tatuya [Tue, 9 Apr 2013 23:12:49 +0000 (16:12 -0700)]
[2831] use \throw to describe exceptions where appropriate.
also changed some of `InvalidOperation` cases to
`MemorySegmentError` as it should be basically generic enough at the
base class level.
JINMEI Tatuya [Tue, 9 Apr 2013 22:34:12 +0000 (15:34 -0700)]
[2831] added more comments about crash in boost on multiple calls to shrink.
JINMEI Tatuya [Tue, 9 Apr 2013 22:21:02 +0000 (15:21 -0700)]
[2831] corrected exception what() message.
JINMEI Tatuya [Tue, 9 Apr 2013 22:18:06 +0000 (15:18 -0700)]
[2831] handle NULL name values for xxxNamedAddress explicitly.
JINMEI Tatuya [Tue, 9 Apr 2013 21:52:53 +0000 (14:52 -0700)]
[2831] described implementation-specific differences of setNamedAddress.
JINMEI Tatuya [Tue, 9 Apr 2013 21:46:18 +0000 (14:46 -0700)]
[2831] define MemorySegmentMapped::INITIAL_SIZE explicitly as it's public.
JINMEI Tatuya [Tue, 9 Apr 2013 21:41:58 +0000 (14:41 -0700)]
[2831] use NULL instead of 0; maybe worth discussing, but out of scope of task.
JINMEI Tatuya [Tue, 9 Apr 2013 21:20:57 +0000 (14:20 -0700)]
[2831] more explicitly clarify passing NULL to setNamedAddress.
JINMEI Tatuya [Tue, 9 Apr 2013 21:15:35 +0000 (14:15 -0700)]
[2831] explain the rational behind the difference between allocate/set name
regarding the case where the segment has grown due to the allocation.
JINMEI Tatuya [Tue, 9 Apr 2013 20:55:03 +0000 (13:55 -0700)]
[2831] explain the design rationale of MemorySegmentGrown
Marcin Siodelski [Tue, 9 Apr 2013 20:30:40 +0000 (22:30 +0200)]
[991] Conditional assignment replaced with if else clause.
This overcomes the build failure on Solaris where it complains about
incompatible types of ? operands.
JINMEI Tatuya [Tue, 9 Apr 2013 20:00:11 +0000 (13:00 -0700)]
[2831] minor editorial fixes: corrected a typo; folded a long line.
Marcin Siodelski [Tue, 9 Apr 2013 19:44:24 +0000 (21:44 +0200)]
[991] Corrected typo in the function name.
Marcin Siodelski [Tue, 9 Apr 2013 19:36:31 +0000 (21:36 +0200)]
[991] Added virtual destructor to the base class.
JINMEI Tatuya [Tue, 9 Apr 2013 19:29:03 +0000 (12:29 -0700)]
[master] editorial: removed a garbage character
Thomas Markwalder [Tue, 9 Apr 2013 19:23:31 +0000 (15:23 -0400)]
[master] Added ChangeLog entry 600.
Thomas Markwalder [Tue, 9 Apr 2013 19:16:32 +0000 (15:16 -0400)]
[master] Merge branch 'trac2837' always use STRICT_SQL mode in
mysql_lease_mgr.
JINMEI Tatuya [Tue, 9 Apr 2013 18:02:51 +0000 (11:02 -0700)]
[2879] some style fixes: improve docstring, folded long lines
JINMEI Tatuya [Tue, 9 Apr 2013 17:06:30 +0000 (10:06 -0700)]
[2387] suggested editorial cleanups to doxygen doc: make it formal and unified.
Marcin Siodelski [Tue, 9 Apr 2013 17:03:50 +0000 (19:03 +0200)]
[991] Addressed review comments.
Jeremy C. Reed [Tue, 9 Apr 2013 15:09:48 +0000 (10:09 -0500)]
[master] fix regression in MasterLoaderTest
I introduced problem by fixing a typo in a comment in a zone file.
The character positions or file sizes of the file were hardcoded
in the unit test. I had seen the failure on my system but didn't
associate it. (My mistake for not looking closely.)
The typo fix added one character so changed the hardcoded 549 to 500
and 506 to 507.
(Later maybe some macros should be used for this?)
Jeremy C. Reed [Tue, 9 Apr 2013 13:17:34 +0000 (08:17 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
merged
Jeremy C. Reed [Tue, 9 Apr 2013 13:15:22 +0000 (08:15 -0500)]
[master] many spelling or typo fixes
mostly in documentation or in comments
reviewed by muks via jabber
includes output changes for two isc_throw.
Michal 'vorner' Vaner [Tue, 9 Apr 2013 13:14:53 +0000 (15:14 +0200)]
Merge #2888
Fix failure to connect in msgq tests.
Thomas Markwalder [Tue, 9 Apr 2013 11:39:45 +0000 (07:39 -0400)]
[2784] Corrected syntax errors due to premature checkin.
Stephen Morris [Tue, 9 Apr 2013 11:26:31 +0000 (12:26 +0100)]
[2837] Fixed omissions from previous review corrections
Added braces to a single-line "if" statement. Also corrected
some comments and removed trailing spaces from some statements.
Michal 'vorner' Vaner [Tue, 9 Apr 2013 11:23:27 +0000 (13:23 +0200)]
[2877] Document new column
Describe the value of the column in the NSEC3 case.
Thomas Markwalder [Tue, 9 Apr 2013 11:21:17 +0000 (07:21 -0400)]
[2784] Addressed review comments.
Thomas Markwalder [Tue, 9 Apr 2013 10:55:06 +0000 (06:55 -0400)]
[2837] Addressed review comments.
Mukund Sivaraman [Tue, 9 Apr 2013 08:42:34 +0000 (14:12 +0530)]
[2831] Make some more minor comment updates
Mukund Sivaraman [Tue, 9 Apr 2013 08:02:26 +0000 (13:32 +0530)]
[2831] Use chmod() function instead of calling a program
Mukund Sivaraman [Tue, 9 Apr 2013 07:56:15 +0000 (13:26 +0530)]
[2831] Add some more checks when the segment is grown
It also makes use a of a prev_size variable (based on the initial
returned segment size).
Mukund Sivaraman [Tue, 9 Apr 2013 07:50:46 +0000 (13:20 +0530)]
[2831] Test getSize() directly with the new size, before and after reset
Mukund Sivaraman [Tue, 9 Apr 2013 07:49:28 +0000 (13:19 +0530)]
[2831] Make some more minor comment updates
Mukund Sivaraman [Tue, 9 Apr 2013 05:50:27 +0000 (11:20 +0530)]
[2387] Rearrange code
Mukund Sivaraman [Tue, 9 Apr 2013 05:48:28 +0000 (11:18 +0530)]
[2387] Move text about missing key data to the constructor API doc
Mukund Sivaraman [Tue, 9 Apr 2013 05:31:47 +0000 (11:01 +0530)]
[2387] Add comments on use of auto_ptr