mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	middleware/proxy: dnstap (#786)
* experimental dnstap support into proxy * proxy reports dnstap errors * refactoring * add a message builder for less dnstap code * msg lint * context * proxy by DNS: dnstap comments * TapBuilder * resolves conflict * dnstap into ServeDNS * testing * more tests * `go lint` * doc update
This commit is contained in:
		| @@ -14,7 +14,7 @@ import ( | ||||
|  | ||||
| func testRequest(t *testing.T, expected Data, r request.Request) { | ||||
| 	d := Data{} | ||||
| 	if err := d.FromRequest(r); err != nil { | ||||
| 	if err := d.RemoteAddr(r.W.RemoteAddr()); err != nil { | ||||
| 		t.Fail() | ||||
| 		return | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user