Commit Graph

2199 Commits

Author SHA1 Message Date
Miek Gieben 724a156794 Envelope is the correct term in the context of transfers 2012-12-02 08:47:32 +01:00
Miek Gieben a115d2230a Doc updates 2012-12-02 08:45:47 +01:00
Miek Gieben 77c679fe65 Rename XfrToken to XfrMsg 2012-12-02 08:41:49 +01:00
Miek Gieben a014286039 Some updates in the comments/documentation 2012-12-02 08:31:56 +01:00
Miek Gieben 743553c6d1 Merge branch 'master' of github.com:miekg/dns 2012-12-02 08:14:02 +01:00
Miek Gieben 78edd83ca6 Add comma 2012-12-02 08:13:57 +01:00
Miek Gieben f6d5ab4e2e Add comments from Stephan 2012-12-01 21:29:47 +01:00
Miek Gieben ffe42637c5 Documentation 2012-12-01 12:44:57 +01:00
Miek Gieben acbbbdece5 Fix comment 2012-11-30 19:39:16 +01:00
Miek Gieben 0a6829ee50 Fix q 2012-11-30 19:33:39 +01:00
Miek Gieben 3783f43fc3 documentation 2012-11-30 19:13:49 +01:00
Miek Gieben 4e91f80881 Merge branch 'master' of github.com:miekg/dns 2012-11-30 15:06:36 +01:00
Miek Gieben 4570e76f2a Refacter txt parsing too
Added new function and make SPF, TXT and other use it.
2012-11-30 15:02:46 +01:00
Miek Gieben 0afd46c739 Shorten functions
Add a endingToString function to refacter a bunch of other setXXX
functions which all had the same endings.
2012-11-30 14:52:05 +01:00
Miek Gieben 48434502f4 layout tweaks in the source file 2012-11-30 14:05:08 +01:00
Miek Gieben 7298fe690c tweak layout 2012-11-30 13:25:55 +01:00
Miek Gieben c86d0c4331 tweak layout 2012-11-30 13:25:01 +01:00
Miek Gieben e5e3adb150 Fix chaos 2012-11-29 21:20:22 +01:00
Miek Gieben 1297852fdc Fix tcp read/writes and client.Attempts
Thanks to a bug report from Vitalie Cherpec which commented that this
didn't work.

The timeout settings we not in the client.attempts loop, so they
were only active for the first attempt. And the loop wasn't broken
out of when the write or read succeeded.

Both these issues are now fixed.
2012-11-22 15:06:21 +01:00
Miek Gieben 6e605f578e Make the line count error reporting more sane 2012-11-22 13:41:40 +01:00
Miek Gieben fa55001b4c Add tests and fix bug in the parser
torc wasn't set in some part resulting in parsing a 'A' while
in fact the parsed record type should have been returned.
2012-11-22 11:54:46 +01:00
Miek Gieben ac39024a25 gofmt 2012-11-21 23:20:56 +01:00
Miek Gieben 9e02a40cc8 Merge branch 'reader' 2012-11-21 22:32:23 +01:00
Miek Gieben 5a3db7b240 delayed newline counting
Fix a lot of corning cases for correct newline counting, but not
the ones where the closing brace is solely on a newline.
2012-11-21 22:21:40 +01:00
Miek Gieben c15d4fe3a3 Ugly hack to get line count correct
When the parser has read a \n to error messsage is off-by-one.
This fixes that.
2012-11-21 17:19:16 +01:00
Miek Gieben aba66ed110 beter 2012-11-21 16:27:36 +01:00
Miek Gieben 37d3009cec Add escaped @ is ok 2012-11-21 15:59:00 +01:00
Miek Gieben 7bd7a65e4d Add CAA 2012-11-20 16:53:58 +01:00
Miek Gieben 67343920d5 Add CDS type 2012-11-20 16:52:18 +01:00
Miek Gieben 4737bfa319 Add the all important RKEY 2012-11-20 16:48:28 +01:00
Miek Gieben 3686d24ca7 Add NINFO record 2012-11-20 16:42:16 +01:00
Miek Gieben f7956a96e6 ATMA 2012-11-20 14:32:06 +01:00
Miek Gieben d34c05f4fc Add def. of SIDN RR 2012-11-20 14:14:00 +01:00
Miek Gieben f6896bea4f Add X25 Resource Record 2012-11-20 14:07:16 +01:00
Miek Gieben 35744e52f8 semi add the NULL record 2012-11-20 13:53:41 +01:00
Miek Gieben 288df5bcc8 remove the w-i-p nsec3 stuff
Not useful, if you want to validate: use unbound
2012-11-20 10:12:00 +01:00
Miek Gieben aaa65c0ae0 documentation 2012-11-20 10:10:09 +01:00
Miek Gieben d114d23cd2 more inline with what we support 2012-11-19 19:28:49 +01:00
Miek Gieben 49ca0cd3df remove async test as we no longer have that function 2012-11-19 19:25:55 +01:00
Miek Gieben 53bc98f2ca update docs 2012-11-19 18:14:52 +01:00
Miek Gieben c7ad10314a Remove the Do function -- easy to do in standard Go 2012-11-19 18:14:09 +01:00
Miek Gieben 33e3a5396e Dont even bother do allocate a channel 2012-11-19 16:55:14 +01:00
Miek Gieben e2ca025569 update documentation 2012-11-19 16:22:54 +01:00
Miek Gieben 0cb7706e03 Use my new static ip address 2012-11-19 16:19:17 +01:00
Miek Gieben 4e2af5cdb1 gofmt 2012-11-19 16:17:13 +01:00
Miek Gieben fa8a5e5757 Fix the tests + gofmt 2012-11-19 16:15:03 +01:00
Miek Gieben dad5761301 q compiles again 2012-11-19 15:58:02 +01:00
Miek Gieben 5a5c71eed3 Some lousy updates - does not compile 2012-11-19 15:46:49 +01:00
Miek Gieben 5349c3532f Per suggestion of Jan Mercle 2012-11-19 14:43:02 +01:00
Miek Gieben 534b3ddfd8 Actually parse the uint64 as uint64, not as uint48 2012-11-19 12:30:42 +01:00