Stephen Morris
6c1f3af003
[trac499] Correct problem with receiving large responses
...
The TCP handling reads into an intermediate staging buffer. The
problem was that this buffer wasn't being emptied between multiple
reads, only after the last one. If the total amount of data
received was more than the staging buffer size, the code failed
attempting to write beyond the buffer end.
This fix empties the staging buffer after (more or less) every
read from the network.
2011-03-04 14:58:53 +00:00
zhanglikun
fa83bb9951
[trac638] Fix the assert error by adding the check for empty pointer, also add test case for it.
2011-03-04 19:57:22 +08:00
Michal 'vorner' Vaner
d686e3ada2
[trac615] Pass options to the manager
2011-03-04 11:09:12 +01:00
Michal 'vorner' Vaner
d0dcd91d39
[trac615] Parser of args
2011-03-04 11:03:09 +01:00
Michal 'vorner' Vaner
b32ea06f28
[trac615] Tests for parsing args
2011-03-04 10:59:09 +01:00
Jelte Jansen
0ca10e6357
[master] Update Changelog
2011-03-04 10:24:18 +01:00
Jelte Jansen
25a5f4ec75
Merge branch 'trac607'
2011-03-04 10:23:44 +01:00
Michal 'vorner' Vaner
2275e0d7af
Changelog for #523
2011-03-04 10:01:30 +01:00
Michal 'vorner' Vaner
301da7d26d
Merge branch 'work/ports/tests'
2011-03-04 09:58:11 +01:00
JINMEI Tatuya
26582526e2
[trac606] editorial cleanup: removed white space after EOL
2011-03-03 22:36:57 -08:00
JINMEI Tatuya
6934390c92
[trac606] use a local dir for xfrout log to suppress warning in tests.
2011-03-03 20:24:02 -08:00
JINMEI Tatuya
333edc6244
[trac606] use B10_FROM_SOURCE_LOCALSTATEDIR when defined for communication between auth and xfrout,
...
so that we can run multiple instances of bind10 system (mainly for system
purposes)
2011-03-03 20:17:49 -08:00
JINMEI Tatuya
8af2ccd45c
[trac606] renamed B10_FROM_SOURCE_CONFIG_DATA_PATH to B10_FROM_SOURCE_LOCALSTATEDIR
...
so that we can use the same env variable for similar purposes, e.g.
communication path betwen b10-auth and xfrout.
2011-03-03 20:08:31 -08:00
JINMEI Tatuya
19f9f10fa5
[trac606] updated the README doc to reflect BIND 10 specific adjustments.
2011-03-03 20:05:34 -08:00
JINMEI Tatuya
5851a6cc19
[trac606] imported BIND 9's test README, which will be adjusted for our case.
2011-03-03 19:36:06 -08:00
JINMEI Tatuya
8be2bf1922
[trac606] added/updated some Makefile.am's so that the tests can be run via make.
2011-03-03 19:35:33 -08:00
JINMEI Tatuya
edfcbcaccb
[trac606] make cleanall.sh not dependent on conf.sh so that it will work in 'make distclean'
2011-03-03 19:07:06 -08:00
JINMEI Tatuya
7396247046
[trac606] ported BIND 9's 'glue' system test
2011-03-03 18:07:35 -08:00
JINMEI Tatuya
9c3f271379
[trac606] make sure conf.sh is executable.
2011-03-03 17:20:05 -08:00
JINMEI Tatuya
56df4f9ab3
[trac606] check availability of perl, which is used in system tests.
2011-03-03 17:16:55 -08:00
JINMEI Tatuya
2298392e3c
[trac606] Merge commit '309d02a51ee22f' (in a personal branch) into trac606 with resolving conflicts.
...
This commit adjusts test framework so that it will work with BIND 10.
Conflicts:
tests/system/start.pl
tests/system/stop.pl
2011-03-03 17:09:40 -08:00
JINMEI Tatuya
309d02a51e
[trac606-pre] adjusted original scripts so that it can work with BIND 10.
2011-03-03 17:07:08 -08:00
JINMEI Tatuya
ddd7b7c3df
[trac606] cleanup: removed $Id$s
2011-03-03 17:03:27 -08:00
JINMEI Tatuya
a2609d0762
[trac606] cleanup: removed unnecessary white spaces.
2011-03-03 17:02:09 -08:00
JINMEI Tatuya
de130e6d9b
[trac606] copied some other necessary stuff from BIND 9's system test framework.
2011-03-03 16:55:58 -08:00
JINMEI Tatuya
53b5297513
Merge commit 'e55ec73b0bdcc2b7d6286c6a18886d' into trac606
2011-03-03 16:53:37 -08:00
JINMEI Tatuya
eeacd1d5ad
[master] Revert "[trac606] (blindly) imported basic framework of BIND 9 system tests"
...
It was merged to a different branch.
This reverts commit e55ec73b0b
.
2011-03-03 16:52:46 -08:00
JINMEI Tatuya
33cf7e5a18
Merge commit 'e55ec73b0bdcc2b7d6286c6a18886d'
2011-03-03 16:52:06 -08:00
JINMEI Tatuya
a9211d7973
[trac606] added a new option for bob, --pid-file, to record the PID of bob himself.
...
mainly intended for testing purposes, so disabled by default.
for testing this feature bind10_test.py is renamed to bind10_test.py.in
and is auto generated by the configure script.
2011-03-03 16:47:30 -08:00
JINMEI Tatuya
4821152689
[trac606] added ability to change the location of config file runtime.
...
this is one of prerequisites to perform various system tests.
2011-03-03 16:30:56 -08:00
JINMEI Tatuya
87829d23b5
[master] minor editorial correction. going to push directly.
2011-03-03 11:38:47 -08:00
Michal 'vorner' Vaner
1faf02bda8
[trac615] Don't hurt absolute names
2011-03-03 18:57:00 +01:00
Michal 'vorner' Vaner
9e78279496
[trac615] Test absolute filename for cfgmgr
2011-03-03 18:56:56 +01:00
Jelte Jansen
ff55e63140
[trac583] forgot to remove the TODO line
2011-03-03 18:02:08 +01:00
Jelte Jansen
b723719cda
[trac583] Added a qid_gen for random qids
...
Simple uniform random number generator using boost.
At this moment, it is in asiolink, because that is where it is used. It should be moved to a lib/util (or something), together with the non-uniform nsas rng.
Also note that IOFetch now *sets* a random qid, but does not actually check it when it receives an answer.
2011-03-03 18:00:53 +01:00
Jelte Jansen
996e2593c8
[trac595] slightly tweak the comment text
2011-03-03 15:11:53 +01:00
Jeremy C. Reed
5cde27560e
[master] add asterisk for operation change; fix typo
2011-03-03 06:34:52 -06:00
Stephen Morris
1f682b8172
[trac499] Final tidy-up before review
2011-03-03 12:14:07 +00:00
Michal 'vorner' Vaner
1fd5547c17
Changelog
2011-03-03 11:15:17 +01:00
Michal 'vorner' Vaner
f06ce63887
Merge branches 'work/ports/auth' and 'work/ports/boss'
2011-03-03 10:59:16 +01:00
Stephen Morris
6ba7a9cf0d
[trac499] Completed test of fallback to TCP
...
Added recursive_query_unittest_2.cc which uses RecursiveQuery to
send a series of queries to a "server" on the lookback interface
and tests that a failover is made to TCP when a response is marked
as truncated.
2011-03-02 20:37:10 +00:00
Michal 'vorner' Vaner
8053d85447
Merge branch 'work/valgrind'
2011-03-02 20:43:37 +01:00
Michal 'vorner' Vaner
5d246e92ae
[trac614] Remove bashisms
2011-03-02 15:16:31 +01:00
Michal 'vorner' Vaner
ae0b20c57c
[trac614] Comments
2011-03-02 13:32:29 +01:00
chenzhengzhang
0047c74393
[master] update ChangeLog entry for #419
2011-03-02 20:30:30 +08:00
chenzhengzhang
1d60afb59e
[master] merge #419 : Parallel xfrout session should be allowed
2011-03-02 20:27:28 +08:00
chenzhengzhang
9c22af762d
[trac419] fix some conflicts caused by merging
2011-03-02 20:23:37 +08:00
Michal 'vorner' Vaner
f9152fae80
[trac614] More portable valgrind flags
2011-03-02 13:20:33 +01:00
Michal 'vorner' Vaner
40f87a0aa5
[trac614] Update readme
2011-03-02 13:18:32 +01:00
JINMEI Tatuya
3d69f66a68
[trac614] Make tests_in_valgrind more portable
2011-03-02 13:15:48 +01:00