2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00
Commit Graph

15037 Commits

Author SHA1 Message Date
JINMEI Tatuya
8431fb8b25 [2617] reorder log message; some more comments and doc 2013-01-30 22:16:58 -08:00
JINMEI Tatuya
ac23914ba6 [2617] separated real recv error and close-on-recv; treat the latter as debug. 2013-01-30 21:24:37 -08:00
JINMEI Tatuya
2a1e4152da [2617] make sure FD handling is performed only when it's still valid.
This eliminates the possibility of hitting MSGQ_READ_UNKNOWN_FD, and, in fact,
we can even deprecate this message.   And then, process_socket() becomes
a 2-line function called only by _process_fd() and can be integrated into
the latter.  so it's done, too.
2013-01-30 20:27:14 -08:00
JINMEI Tatuya
4df7916901 [2617] internal refactoring: extract FD handling into a separate method. 2013-01-30 19:56:27 -08:00
JINMEI Tatuya
73ca6b06d1 [2617] log EPIPE at the warn level. added more detailed tests for send_data. 2013-01-30 18:01:48 -08:00
Mukund Sivaraman
271e37c6b0 [2656] Check that origin argument is used for relative names 2013-01-31 06:08:59 +05:30
Mukund Sivaraman
f59c311cfd [2656] Include bad data in the exception message 2013-01-31 06:03:04 +05:30
Mukund Sivaraman
814eb8ad33 [2390] Check that origin argument is used for relative names 2013-01-31 05:53:28 +05:30
Mukund Sivaraman
11f5ae7cdd [2390] Include bad data in the exception message 2013-01-31 05:46:15 +05:30
JINMEI Tatuya
fe0db0adf0 [2617] make sure error info isn't lost on socket.error in getbytes()
the previous code (probably unintentionally) converted it to an empty
socket.error, resulting in useless debug message.
2013-01-30 13:46:17 -08:00
JINMEI Tatuya
269cd18672 [2617] added a debug message on session establishment with lname. debug aid. 2013-01-30 13:45:04 -08:00
JINMEI Tatuya
ed8243603f [2617] log lname after establishing cc session; for debug aid 2013-01-30 13:31:10 -08:00
JINMEI Tatuya
583de5551d [2617] extend python cc module so it logs some events, and log local lname
this is for debugging the issue of this task, but will be useful in general.
2013-01-30 13:29:20 -08:00
Jeremy C. Reed
937c982cf3 [master] DHCP4_SERVERID_LOADED and DHCP6_SERVERID_LOADED need server-id too
On my home system I received error when running unit tests like:

Message DHCP4_SERVERID_LOADED server-id /home/reed/opt/bind10/var/b10-dhcp4-serverid has been loaded from file %2
assertion ""Excess logger placeholders still exist in message" == NULL" failed: file "../../../../src/lib/log/log_formatter.cc", line 69, function "void isc::log::checkExcessPlaceholders(std::string*, unsigned int)"

I am using --enable-logger-checks. The build farm also uses that.
I am not sure why this was not seen  on the build farm.

I added the missing value for dhcp4 and dhcp6 and the make check completed.

It had slight review on jabber.
2013-01-30 09:35:48 -06:00
Jelte Jansen
bc42c4b3d3 [2390] small style fix 2013-01-30 16:10:47 +01:00
Shane Kerr
e6348b6115 Typo fixes. 2013-01-30 11:47:57 +01:00
Shane Kerr
794f240b5c Change lettuce test timeouts from 10 seconds to 1 minute. 2013-01-30 11:27:16 +01:00
Michal 'vorner' Vaner
5351989c37 Rename log message ID
Logging XFRIN_TRANSFER_PROTOCOL_ERROR as INFO level message could be
confusing. Rename to XFRIN_TRANSFER_PROTOCOL_VIOLATION, which is
neutral which has a neutral name regarding the log levels.
2013-01-30 10:11:55 +01:00
Michal 'vorner' Vaner
c1b8e63ca9 Create a file to hold differences to other software
Also, include one known difference to bind9. This is both to store it
somewhere before we forget about it and to have an example to how the
file would look like.
2013-01-30 09:47:30 +01:00
Mukund Sivaraman
10833250f2 [2656] Add CNAME, DNAME, SRV tests for extra text at end-of-line 2013-01-30 11:50:58 +05:30
Mukund Sivaraman
691f87a307 [2390] Add NS, MX, PTR tests for extra text at end-of-line 2013-01-30 11:38:11 +05:30
JINMEI Tatuya
57f3e532a4 [master] Merge branch 'trac2310' 2013-01-29 13:43:35 -08:00
JINMEI Tatuya
31707f9fd9 [2310] added notes about htonl() portability considerations 2013-01-29 13:42:58 -08:00
Michal 'vorner' Vaner
5cfbdc70c1 Changelog for #2439 2013-01-29 13:41:08 +01:00
Michal 'vorner' Vaner
76f20bfafc Fix regex in lettuce tests
The old version with . didn't work well with the form
  wait … for MESSAGE not OTHER_MESSAGE
Since the whole "MESSAGE not OTHER_MESSAGE" was captured into the first
(.+). This broke several tests in around xfrin and possibly others.

Now the tests pass and reviewed on jabber.
2013-01-29 13:36:34 +01:00
Michal 'vorner' Vaner
44699b4b18 Merge #2439
Perform post transfer validation of zone in XfrIn by isc.dn.check_zone and
reject broken zones.
2013-01-29 12:53:46 +01:00
Michal 'vorner' Vaner
8ed7d37069 [2439] Adjust the log message
To be aligned with the exception it describes.
2013-01-29 12:52:21 +01:00
Mukund Sivaraman
d8c50d0bae [2656] Add/update API doc for SRV constructors 2013-01-29 13:28:23 +05:30
Mukund Sivaraman
7e110b499a [2656] Add API doc for DNAME constructors 2013-01-29 13:23:04 +05:30
Mukund Sivaraman
2db1901944 [2656] Add API doc for CNAME constructors 2013-01-29 13:22:41 +05:30
Mukund Sivaraman
17a9c25450 [2656] Update std::string SRV constructor to use the MasterLexer 2013-01-29 13:12:09 +05:30
Mukund Sivaraman
c5efaec3f9 [2656] Update std::string DNAME constructor to use the MasterLexer
Also adjust tests.
2013-01-29 12:50:17 +05:30
Mukund Sivaraman
ae25fcc7ab [2656] Update std::string CNAME constructor to use the MasterLexer
Also adjust tests.
2013-01-29 12:33:28 +05:30
Mukund Sivaraman
58ccf7aa11 [2656] Use createNameFromLexer() in CNAME, DNAME and SRV constructors (which accept a lexer) 2013-01-29 12:04:36 +05:30
Mukund Sivaraman
0aafc9b432 [2656] Add using statements for createNameFromLexer()
This used to work before (without the using statement) as they
came after SOA in the generated files.
2013-01-29 12:01:10 +05:30
Mukund Sivaraman
af2672cf15 [2656] Add SRV implementation 2013-01-29 11:31:10 +05:30
Mukund Sivaraman
e4cd538685 [2656] Add DNAME implementation 2013-01-29 11:31:10 +05:30
Mukund Sivaraman
7ddf561d63 [2656] Add CNAME implementation 2013-01-29 11:31:10 +05:30
Mukund Sivaraman
e6603386c5 [2390] Add API doc for MX constructors 2013-01-29 11:28:13 +05:30
Mukund Sivaraman
5d1563f963 [2390] Make minor documentation updates 2013-01-29 11:28:07 +05:30
Mukund Sivaraman
859b69891f [2390] Add API doc for PTR constructors 2013-01-29 11:22:42 +05:30
Mukund Sivaraman
3ca5de640a [2390] Add API doc for NS constructors 2013-01-29 11:14:00 +05:30
Mukund Sivaraman
ff930eca8a [2390] Adjust some more tests for NS construction changes 2013-01-29 10:41:19 +05:30
Mukund Sivaraman
3d35bcb14c [2390] Update std::string PTR constructor to use the MasterLexer
Also adjust tests.
2013-01-29 10:29:00 +05:30
Mukund Sivaraman
e8c5250c5b [2390] Update std::string MX constructor to use the MasterLexer
Also adjust tests.
2013-01-29 10:29:00 +05:30
Mukund Sivaraman
b8e8e7ed5f [2390] Update std::string NS constructor to use the MasterLexer
Also adjust tests.
2013-01-29 10:29:00 +05:30
Mukund Sivaraman
9c42816e5f [2390] Update zones to start using relative names 2013-01-29 10:29:00 +05:30
Mukund Sivaraman
f18d297fd5 [2390] Use createNameFromLexer()
Also fix tests to use absolute names.
2013-01-29 10:29:00 +05:30
Mukund Sivaraman
a5a7f330f4 [2390] Add NS implementation 2013-01-29 10:28:59 +05:30
Mukund Sivaraman
e1ed220b64 [2390] Add PTR implementation 2013-01-29 10:28:59 +05:30