Commit Graph

3367 Commits

Author SHA1 Message Date
Alex Sergeyev 7eb4621b6c Remove TestSingleInflight as per #250 2015-09-15 11:24:38 -04:00
Miek Gieben d4ee3f8757 Merge pull request #258 from corny/patch-1
Add myself as user
2015-09-14 16:22:54 +01:00
Julian K. 8a70f4bd29 Add myself as user 2015-09-12 01:31:32 +02:00
Miek Gieben 8395762c34 Merge pull request #239 from andrewtj/atj-sidn
Add AXFR tests run against SIDN's DNS Workbench
2015-09-05 08:12:15 +01:00
Miek Gieben 17a9b53ea9 Merge pull request #256 from benschw/patch-1
adding project using miekg/dns to README list
2015-09-01 17:33:26 +01:00
Ben Schwartz 264015f64f adding project using miekg/dns to README list 2015-09-01 11:12:39 -05:00
Miek Gieben 540899743c Handle the last TCP connection
We currently close the connection after 128 TCP queries. But the
when the last query comes in, we close the connection immediately.
Fix this by moving the check to before we read data from the TCP
socket.

Fixes: #218.
2015-08-31 17:40:56 +01:00
Miek Gieben 1d2215f5e8 Merge branch 'dedup4' 2015-08-31 17:06:42 +01:00
Miek Gieben 957df53567 some memory optimisations 2015-08-31 16:50:42 +01:00
Miek Gieben fb82119b66 less memory use 2015-08-31 16:48:28 +01:00
Miek Gieben 66a588e54c 1.5 proper 2015-08-28 13:12:03 +01:00
Miek Gieben 0206070abf Address commments from Alex 2015-08-26 14:13:14 +01:00
Miek Gieben 6cf1a0db58 fmt 2015-08-26 12:19:38 +01:00
Miek Gieben ac493072c7 Correctly handle CNAME/DNAMEs 2015-08-26 12:19:22 +01:00
Miek Gieben e1d5f172ae More tests 2015-08-26 11:26:45 +01:00
Miek Gieben aec78ad5e4 more docs 2015-08-26 07:35:55 +01:00
Miek Gieben 0ce87cb3da More and better tests 2015-08-26 07:34:51 +01:00
Miek Gieben fba9ecdf79 Rework a little and more tests 2015-08-25 22:35:10 +01:00
Miek Gieben 34e4ada672 mpre 2015-08-25 14:28:00 +01:00
Miek Gieben 350b578e76 more wip 2015-08-25 13:52:53 +01:00
Miek Gieben ec2b1b7be3 wip 2015-08-25 10:32:08 +01:00
Miek Gieben a2fc07f45a WIP kill otherdata for cname and dname 2015-08-25 09:30:43 +01:00
Miek Gieben 4bca364480 Cleanup the tests and add some doc string 2015-08-25 08:39:43 +01:00
Miek Gieben 3daa798e14 Small tweak, next cleanup the tests 2015-08-25 06:52:56 +01:00
Miek Gieben 79547a0341 Add Dedup function
Add function that dedups a list of RRs. Work on strings, which
adds garbage, but seems to be the least intrusive and takes the
last amount of memory.

Some fmt changes snook in as well.
2015-08-24 22:02:57 +01:00
Miek Gieben 5b9c36bf67 Small doc cleanups 2015-08-23 12:55:01 +01:00
Miek Gieben 8de6ade9ec golint: document ANY a bit 2015-08-23 10:21:18 +01:00
Andrew Tunnell-Jones fe0937fa24 Merge sidnxfr_test.go into xfr_test.go
* Export tests in xfr_test.go
* Rename tests to be `go test -run` friendly
* Hide behind 'net' build tag
2015-08-23 07:31:06 +00:00
Miek Gieben 9bf52083d1 golint fixes 2015-08-23 08:03:13 +01:00
Miek Gieben 114b68f41b go vet fixes 2015-08-23 07:24:08 +01:00
Miek Gieben 0424c9ab02 Merge branch 'master' of github.com:miekg/dns 2015-08-22 18:32:04 +01:00
Miek Gieben a6742d536c Lock zone pattern deletion too
Go 1.5 -race flags this as data race, it's not performance critical,
add locking on the mutex.
2015-08-22 18:31:23 +01:00
Miek Gieben 9f3aaff9ad Merge pull request #251 from michaelharo/vet
Correct formatting directive in Log call
2015-08-22 18:25:47 +01:00
Michael Haro 4c495b2aea Correct formatting directive in Log call 2015-08-22 10:10:57 -07:00
Miek Gieben 996ff55983 minimize the race in TestSingleInflight 2015-08-22 13:42:02 +01:00
Miek Gieben 6f68c4c4bd Add remote test
TODO: hide this behind a -net tag, so it can be disabled.
2015-08-22 10:50:07 +01:00
Miek Gieben 5d1ea41bf6 Merge branch 'master' of github.com:miekg/dns 2015-08-22 08:55:32 +01:00
Miek Gieben 076c8ffa9a Rename TestSingleSingleInflight to TestSingleInflight and some cosmetic changes 2015-08-22 08:55:23 +01:00
Miek Gieben 88356f9f15 Merge pull request #249 from fcambus/master
Adding statzone to the list of library users
2015-08-21 21:17:10 +01:00
Frederic Cambus bee2acb3a6 Adding statzone to the list of library users 2015-08-21 22:00:50 +02:00
Miek Gieben 780188672c Merge pull request #197 from FiloSottile/filippo/crypto
Refactor DNSSEC to use crypto.{PrivateKey,Signer}
2015-08-19 18:37:46 +01:00
Miek Gieben f1e34db2bd Merge pull request #248 from FiloSottile/patch-1
Travis: -> new architecture; - short mode; + race detector
2015-08-19 18:34:28 +01:00
Filippo Valsorda 034c247229 Refactor DNSSEC to use crypto.{PrivateKey,Signer}
This will allow RRSIG.Sign to use generic crypto.Signer implementations.

This is a interface breaking change, even if the required changes are most
likely just type asserions from crypto.PrivateKey to the underlying type or
crypto.Signer.
2015-08-19 17:51:02 +01:00
Filippo Valsorda 1663d71c5d Travis: -> new architecture; - short mode; + race detector
If sudo is not needed, Travis will run the builds in a faster containerized architecture.

Removed "-short", added "-race". Wall time loss seems reasonable.
2015-08-19 17:36:44 +01:00
Miek Gieben c50a9fc91d Merge branch 'master' of github.com:miekg/dns 2015-08-17 11:12:59 +01:00
Miek Gieben eac4ea318f Revert "Use defer Unlock() in ListAndServe"
This reverts commit d2cb5e8fef.
2015-08-17 11:11:14 +01:00
Miek Gieben 7ff8d29c8b Merge pull request #242 from ErikDubbelboer/lessheap
Do simple prechecks to avoid heap allocations
2015-08-13 07:55:50 +01:00
Erik Dubbelboer 6b8b49f49d Do simple prechecks to avoid heap allocations 2015-08-13 04:50:02 +00:00
Miek Gieben 0fe10e90c4 Drop go 1.3 and add go 1.5rc1 for tests 2015-08-12 07:51:12 +01:00
Miek Gieben d2cb5e8fef Use defer Unlock() in ListAndServe 2015-08-12 07:49:41 +01:00