Chris Wright
2a8e46babc
Merge pull request #17 from DaveRandom/fix/cached-null-address
...
Cached null value checks
2014-11-26 15:47:49 +00:00
Danack
0c9d4a62d5
Added extra check to ensure APC is functioning. This is apparently necessary as tested on PHP5.4 on OSX.
2014-11-21 19:34:40 +00:00
Danack
ea5610963b
Added check that the cache is enabled.
2014-11-21 16:06:36 +00:00
Danack
3bcf7e53a7
Changed default cache to be APCCache if the APC extension is loaded. This allows DNS lookups to be cached across requests when the library is used in a web SAPI.
2014-11-19 19:20:03 +00:00
Danack
ebce062f63
Added check to stop myself being confused by the tests not running.
2014-11-19 19:03:31 +00:00
Chris Wright
3e9fae44c0
Cached null value checks
...
- Prevent null values from being cached
- Delete values with expired TTLs from memory cached when an attempt is
made to access them
- Use default TTL when none is specified with Redis and APC
2014-11-19 12:22:42 +00:00
Danack
8ac3ce08f8
Added test for overflow.
2014-11-10 16:13:44 +00:00
Danack
dd893c09a1
Fixed typo on variable. Added ClientTest to have client specific tests.
2014-11-10 15:42:58 +00:00
Danack
67b0ff1494
Fixed incorrect exception name.
2014-11-10 14:20:38 +00:00
Daniel Lowrey
e58d46d3c5
Disable read watcher when no resolve operations pending
2014-11-03 23:49:19 -05:00
Daniel Lowrey
980fd6a434
Update amp dependency
2014-10-22 22:32:01 -04:00
Daniel Lowrey
5748155b4b
Drop php req to 5.4
2014-10-21 11:54:29 -04:00
Daniel Lowrey
704c35870c
Update README.md
...
Change incorrect usage of "parallel" to "concurrent"
2014-10-02 12:29:03 -04:00
Chris Wright
989a43a787
Merge pull request #15 from DaveRandom/master
...
Allow leading digits in name labels
2014-10-02 16:48:41 +01:00
Chris Wright
c188896170
Allow leading digits in name labels
...
Update name validator to allow RFC1101 names
2014-10-02 16:41:33 +01:00
Daniel Lowrey
d562ce24f4
Simplify directory structure
2014-09-24 13:35:10 -04:00
Daniel Lowrey
58929805a7
Update README examples
2014-09-24 10:52:32 -04:00
Daniel Lowrey
3f60ac9cc0
Update travis
2014-09-24 10:38:34 -04:00
Daniel Lowrey
205ecec4fc
update composer dep version
2014-09-24 00:13:50 -04:00
Daniel Lowrey
d5e05e6c9b
Improve README code formatting
2014-09-24 00:06:42 -04:00
Daniel Lowrey
ccd9c87aeb
Initial amphp refactor
2014-09-24 00:04:46 -04:00
Danack
fb9407818e
Merge pull request #14 from sasezaki/patch-1
...
Add PHP 5.6 to .travis.yml
2014-08-29 13:32:06 +01:00
Danack
559c8d18d5
Updated composer.lock file to appease Composer deities.
2014-08-29 13:18:43 +01:00
kazusuke sasezaki
e2c995e1c4
add PHP 5.6 to .travis.yml
2014-08-29 01:26:26 +09:00
Daniel Lowrey
34da0f66b8
Merge branch '0.2'
...
Conflicts:
composer.lock
2014-08-05 17:47:07 -04:00
Daniel Lowrey
c90bea0e44
update composer.lock for new alert dependency version
2014-08-05 17:41:32 -04:00
Daniel Lowrey
ac39874f7f
update alert dependency
2014-08-05 17:37:51 -04:00
Chris Wright
8fc26b5220
Update predis dep version to ~0.8.6
2014-07-30 00:00:34 +01:00
Chris Wright
b4865006d7
Merge branch '0.2'
...
Conflicts:
composer.lock
2014-07-29 23:56:03 +01:00
Chris Wright
84e37a2dde
Update Alert to 0.9.0, .gitignore, composer.lock
...
- Update Alert to v0.9.0 in composer and submodule
- Update .gitignore to ignore composer data in
vendor directory
- Add composer.lock to repo
2014-07-29 23:17:21 +01:00
Danack
d4a86e8ac8
Fixed test to have correct behaviour.
2014-07-24 14:04:50 +01:00
Danack
d18d4958e5
Merge pull request #12 from Danack/addedSamplePackets
...
Added sample packets - tests are broken due to the uncommented test.
2014-07-24 12:59:09 +01:00
Danack
b37ad10811
Added test where client is not set.
2014-07-24 12:53:10 +01:00
Danack
005d0710bb
Changed bbc test to use an array to be consistent with others, and also added note about test should check two IP addreses.
...
Added check that cname is returned when only cname is available.
2014-07-24 12:25:56 +01:00
Danack
ac8d451278
Merge commit '671cffe242beee453f272f1d143ee29d6027e2dd' into addedSamplePackets
...
* commit '671cffe242beee453f272f1d143ee29d6027e2dd':
Removed bogus check in test - there is still an issue so test is marked as skipped.
Added resolver tests.
Fix hosts file bug and tests
2014-07-24 11:35:03 +01:00
Danack
c9f86bbe7e
Added more tests for example packets.
2014-07-24 11:34:40 +01:00
Chris Wright
671cffe242
Merge pull request #11 from Danack/addResolverTest
...
Add resolver and ResponseInterpreter tests.
2014-07-23 23:32:41 +01:00
Danack
aab84bcef0
Removed bogus check in test - there is still an issue so test is marked as skipped.
2014-07-22 19:39:47 +01:00
Danack
8fdb86f655
Merge commit '3d81d18176b762191891de158dc04a1a59af6053' into addResolverTest
...
* commit '3d81d18176b762191891de158dc04a1a59af6053':
Fix hosts file bug and tests
Conflicts:
test/AddrTest/HostsFileTest.php
2014-07-22 19:34:47 +01:00
Danack
155d33475b
Added resolver tests.
2014-07-22 18:31:44 +01:00
Danack
06317638c6
Added hard-coded packet response to allow testing of the decoding.
2014-07-22 16:30:34 +01:00
Chris Wright
3d81d18176
Fix hosts file bug and tests
...
Thanks to @Danack
2014-07-22 16:18:26 +01:00
Chris Wright
585b5578e3
Cache refactoring
...
- pull $type back down into interface
- remove delete() from interface
- make get() async-capable
2014-07-22 02:54:23 +01:00
Chris Wright
2728ca6a37
Merge pull request #9 from Danack/addHostsTest
...
Added more tests
2014-07-21 23:12:40 +01:00
Danack
af5c817c01
Removed dead method call.
2014-07-21 23:08:03 +01:00
Danack
8ae5a4631b
Added hostsFile tests. Added check that caching is actually preventing additional lookups.
2014-07-21 22:56:48 +01:00
Chris Wright
a30ead4952
Whitespace and code style fixes
...
I am anal. I am also sorry. Deal with it.
2014-07-21 17:48:36 +01:00
Chris Wright
8eaa4f33a5
Merge pull request #8 from Danack/danackSquashTest
...
Danack squash test
2014-07-21 14:57:32 +01:00
Danack
ca150f4093
Changed to project standard bracket placement. Moved AddrCache to Addr\Cache. Refactored to use 'use', added not about running tests to readme. Moved travis badge to point at main repo.
2014-07-21 14:12:51 +01:00
Danack
a50369e71e
Tests, Travis and Cache implementations
...
- Add tests
- Configure repo for use with Travis
- Add some more Cache implementations
2014-07-21 12:24:35 +01:00