summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change parameter order of low_level_address_tuple; add test coverage.asyncBob Halley2020-06-135-9/+31
|
* move low_level_address_tuple() to dns.inet; add some no-coverage commentsBob Halley2020-06-136-22/+26
|
* Add some comments about opportunities after 3.6 is not supported.Bob Halley2020-06-133-1/+6
|
* update extrasBob Halley2020-06-122-1/+3
|
* only get_default_backend() when we need to, remove obsolete commentBob Halley2020-06-121-9/+6
|
* add curio (optional)Bob Halley2020-06-121-0/+1
|
* fix typoBob Halley2020-06-121-1/+1
|
* fix recvfrom, tls timing, and other misc thingsBob Halley2020-06-124-20/+25
|
* doco updateBob Halley2020-06-121-2/+2
|
* fix commentBob Halley2020-06-121-2/+2
|
* make get_backend() shorter; improve sniffing; fail if we cannot tell the libraryBob Halley2020-06-121-25/+31
|
* Re-enable TLS async tests.Bob Halley2020-06-121-27/+45
|
* Add TLS for asyncio.Bob Halley2020-06-121-2/+4
|
* add timeout to curio.open_connection()Bob Halley2020-06-121-4/+5
|
* add tls() to async docBob Halley2020-06-121-0/+5
|
* read_exactly -> _read_exactlyBob Halley2020-06-121-3/+3
|
* fix nanonameserver after removal of dns.trioBob Halley2020-06-121-3/+16
|
* Add TLS for Trio and Curio.Bob Halley2020-06-124-15/+112
|
* add type infoBob Halley2020-06-123-0/+82
|
* lintBob Halley2020-06-124-17/+18
|
* async docoBob Halley2020-06-1214-100/+161
|
* Attempt to cope with python 3.6 asyncio.Bob Halley2020-06-112-4/+23
|
* Support trio, curio, and asyncio with one API!Bob Halley2020-06-1116-666/+1106
|
* imnprove commentBob Halley2020-06-091-2/+3
|
* Merge pull request #503 from bwelling/edns-updatesBob Halley2020-06-081-27/+45
|\ | | | | Updates to dns.edns module.
| * Updates to dns.edns module.Brian Wellington2020-06-081-27/+45
| | | | | | | | | | Convert the option types to an enum, and allow the file parameter to to_wire() methods to be optional.
* | Fix leaked socket in testQueryTLSWithSocket.Brian Wellington2020-06-081-13/+13
|/
* Allow a socket to be passed to udp(), and a stream to stream().Bob Halley2020-06-063-36/+123
|
* minor doco updateBob Halley2020-06-061-5/+7
|
* remove af, add sockBob Halley2020-06-061-12/+38
|
* Remove more unneeded backwards compat, _winreg -> winregBob Halley2020-06-051-30/+27
|
* remove no longer needed backwards compat for collections.abc.MutableMappingBob Halley2020-06-051-4/+2
|
* remove now-unused io importsBob Halley2020-06-035-6/+0
|
* Merge pull request #502 from bwelling/object-super-cleanupBob Halley2020-06-0322-64/+63
|\ | | | | Minor Python 3 cleanups.
| * Minor Python 3 cleanups.Brian Wellington2020-06-0322-64/+63
|/ | | | | | | Classes inherit from object by default; there's no need to explicitly include this. Replace super(Foo, self) with super().
* add dns.trio to setup.py packagesBob Halley2020-06-031-1/+2
|
* bail out early on ShortHeaderBob Halley2020-06-021-0/+3
|
* pass peer and connection type to nanoserver handle()Bob Halley2020-06-022-8/+19
|
* Refactor common code between UDP and TCP; add basic exception handlingBob Halley2020-06-021-22/+59
|
* Merge pull request #495 from rthalley/nanonameserverBob Halley2020-06-023-7/+246
|\ | | | | Nanonameserver
| * switch to relative import for nanonameservernanonameserverBob Halley2020-06-012-1/+1
| |
| * add nanonamserver, a handy testing toolBob Halley2020-05-312-4/+243
| |
| * Expose dns.trio.query.read_exactly() as it is useful.Bob Halley2020-05-311-3/+3
| |
* | NSEC should NOT be downcased when canonicalized, nor should HIP or IPSECKEY; ↵Bob Halley2020-06-012-2/+21
| | | | | | | | test all
* | Merge pull request #499 from bwelling/to-wireBob Halley2020-06-0144-172/+104
|\ \ | | | | | | Improvements to dns.rdata.to_wire().
| * | Improvements to dns.rdata.to_wire().Brian Wellington2020-06-0144-172/+104
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does two things. 1) Makes the file parameter optional, removing the requirement that callers create an io.BytesIO object if all they want is the bytes. This is done by renaming all of the rdata subclass to_wire() methods to _to_wire(), and making dns.rdata.to_wire() create the io.BytesIO internally if needed, and then delegate to the subclass. 2) Add canonicalize=False parameter, allowing code reuse for conversion to wire format and conversion to hashable format. This also removes all of the rdata subclass to_digestable routines that are no longer needed, as dns.rdata.to_digestable will work for all rdata types.
* | RRSIG digestable might as well be right even if it is uselessBob Halley2020-06-012-2/+10
| |
* | continued line lintBob Halley2020-06-011-1/+1
| |
* | Merge pull request #498 from bwelling/query-socketsBob Halley2020-06-012-42/+156
|\ \ | | | | | | Adds sock parameters to query methods.
| * | Adds sock parameters to query methods.Brian Wellington2020-06-012-42/+156
| | | | | | | | | | | | | | | Allow passing a socket into dns.query.{udp,tcp,tls,udp_with_fallback}, and add tests for this.