1
0
mirror of https://github.com/danog/dns.git synced 2024-11-27 04:24:48 +01:00
Commit Graph

290 Commits

Author SHA1 Message Date
Aaron Piotrowski
fdeb03ca44
Use input/output streams 2017-06-22 19:38:36 -05:00
Aaron Piotrowski
ba8a8423eb
Use anonymous class 2017-06-22 18:46:08 -05:00
Niklas Keller
ed1ea12067 Fix phpdoc in functions.php 2017-06-23 01:02:07 +02:00
Niklas Keller
2815d8f694 Add config test 2017-06-22 23:39:13 +02:00
Niklas Keller
74e68587f7 Refactor to option-less interface 2017-06-22 23:25:21 +02:00
Niklas Keller
3c8412b4a7 Remove TYPE_ prefix for record constants 2017-06-22 20:08:27 +02:00
Niklas Keller
d7b32251d8 Rename ResolvConfTest to UnixConfigLoaderTest 2017-06-22 19:26:41 +02:00
Niklas Keller
315e03ff54 Refactor to Record class
Arrays are clearly not a good API and have resulted in bugs before, even within this package.
2017-06-22 19:22:45 +02:00
Niklas Keller
f06f3b4f74 Refactor name normalization and validity checking 2017-06-22 19:06:49 +02:00
Niklas Keller
aa74a8825e Fix code style 2017-06-17 12:33:22 +02:00
Niklas Keller
25a8110c89 Refactor config loaders out of DefaultResolver 2017-06-17 12:30:38 +02:00
Niklas Keller
4d8f27d9b5 Readd call import removed by php-cs-fixer 2017-06-17 11:00:26 +02:00
Niklas Keller
cbac861746 Update to PHPUnit 6, update code style 2017-06-17 10:49:54 +02:00
Niklas Keller
38250dddad Update amphp/file to correct dev-dep 2017-06-17 09:13:58 +02:00
Niklas Keller
3d035a7e14 Serialize cache entries, use stable versions where possible 2017-06-17 08:31:35 +02:00
Niklas Keller
f06b5fd810 Add normalizeName 2017-06-15 22:06:50 +02:00
Niklas Keller
08ada39e3b Merge branch 'master' into amp_v2 2017-06-14 08:10:06 +02:00
Niklas Keller
4ef49e8544 Fix cache TTL 2017-06-14 08:08:34 +02:00
Aaron Piotrowski
e7559b6cbc Merge branch 'master' into amp_v2 2017-06-13 12:28:06 -05:00
Chris Wright
9f2820bb63 Merge pull request #57 from Peleg/use-ttl
Fix bug where record type ID is used as TTL in cache
2017-06-01 08:56:55 +01:00
Peleg Rosenthal
1de011e888 use ttl before caching 2017-05-26 16:37:15 -04:00
Aaron Piotrowski
20069da691 Update for removal of pipe() 2017-05-04 17:12:13 -05:00
Aaron Piotrowski
1d8dc615bf Update for async-interop merge and other Amp changes 2017-03-16 23:01:58 -05:00
Aaron Piotrowski
4e4d6e9f81 Unload server when fwrite fails
Ignore errors from fwrite caused by disconnected sockets and immediately unload the server.
2017-03-02 16:38:11 -06:00
Niklas Keller
5fc1cde2d2 Add test for PTR lookup by IP 2017-02-05 23:17:40 +01:00
Niklas Keller
2b6925f166 Automatically convert IPs to ARPA domain 2017-02-05 23:17:40 +01:00
Niklas Keller
45ab9b512b Search for DhcpNameServer in interfaces on Windows
Resolves #49.
2017-02-05 09:49:46 +01:00
Niklas Keller
6924079756 Delete obsolete coveralls config, add recommended travis_retry 2017-01-25 16:41:31 +01:00
Niklas Keller
badf3a9100 Merge branch 'master' into amp_v2 2017-01-25 16:36:19 +01:00
Niklas Keller
fc4621dfb7 Add test for custom servers 2017-01-25 16:25:41 +01:00
Niklas Keller
ecc677b6eb Merge branch 'master' into amp_v2
Require PHPUnit 5.2.8, because of php-code-coverage and php-token-stream
requirements for PHP 7.

See
db63be1159
and 3204a4473c.
2017-01-25 13:36:51 +01:00
Niklas Keller
5012ed3cf1 Depend on php-code-coverage 2.2 or higher for the PHPDBG driver 2017-01-25 13:21:19 +01:00
Niklas Keller
0941c4e779 Merge branch 'master' into amp_v2 2017-01-25 13:10:06 +01:00
Niklas Keller
ebabcf256d Readd 5.5 and 5.6 to Travis, add 7.1 and use lowest and highest deps 2017-01-25 13:05:17 +01:00
Niklas Keller
8659b56263 Merge pull request #43 from imbrish/master
Fix parsing servers with port in parseCustomServerUri
2017-01-25 12:58:32 +01:00
Paul
885515990c Fix parsing servers with port in parseCustomServerUri 2017-01-25 12:52:55 +01:00
Niklas Keller
3e0e3842fe Disable PHP 5 on AppVeyor 2017-01-25 08:45:01 +01:00
Aaron Piotrowski
f4055e5a52 Update for async-interop namespace change 2017-01-10 23:49:38 -06:00
Aaron Piotrowski
e13372219a Merge branch 'master' into amp_v2 2017-01-10 18:17:28 -06:00
Niklas Keller
2c901b26c9 Reenable 7.1 with retry, only output essential information 2017-01-05 09:59:34 +01:00
Niklas Keller
7765600761 Disable 5.5, too, as only 5.5.16 is avilable, but only via the archive page, which is not used by choco 2017-01-05 09:39:08 +01:00
Niklas Keller
07d28168ab Enable PHP 5.5 tests, disable 7.1 for now because of installation failures 2017-01-05 09:01:47 +01:00
Niklas Keller
0b0ef2b82d Enable AppVeyor, search in all interfaces for nameservers 2017-01-05 01:13:28 +01:00
Niklas Keller
cf08357a86 Add support for Windows DNS nameserver configuration (#40) 2017-01-04 20:07:28 +01:00
Aaron Piotrowski
5c5c0f92bd Disable instead of unreference 2016-12-29 22:57:41 -06:00
Aaron Piotrowski
7091105e2f Update for removal of Amp loop wrapper functions 2016-12-29 21:17:07 -06:00
Aaron Piotrowski
644c4f8fc6 Drop strict types
Dropping strict types so it is not enforced in callbacks provided by application code.
2016-12-29 21:16:14 -06:00
Aaron Piotrowski
e53f0b4e3a Require coveralls after script 2016-11-15 10:42:37 -06:00
Aaron Piotrowski
0ff5c8b802 Awaitable → Promise 2016-11-15 10:42:15 -06:00
Aaron Piotrowski
429ca48c94 Revert "Fix version aliases"
This reverts commit b9bc42908f.

Only the next version of Amp is 2.0, these libs will be 0.2.
2016-08-24 09:17:20 -05:00