mirror of
https://github.com/miekg/dns.git
synced 2025-10-12 18:31:00 +02:00
conn is gone
This commit is contained in:
parent
9ab211d660
commit
3560da6104
@ -37,15 +37,7 @@ type ResponseWriter interface {
|
|||||||
Hijack()
|
Hijack()
|
||||||
}
|
}
|
||||||
|
|
||||||
type conn struct {
|
|
||||||
remoteAddr net.Addr // address of the client
|
|
||||||
handler Handler // request handler
|
|
||||||
request []byte // bytes read
|
|
||||||
tsigSecret map[string]string // the tsig secrets
|
|
||||||
}
|
|
||||||
|
|
||||||
type response struct {
|
type response struct {
|
||||||
// conn *conn
|
|
||||||
hijacked bool // connection has been hijacked by handler
|
hijacked bool // connection has been hijacked by handler
|
||||||
tsigStatus error
|
tsigStatus error
|
||||||
tsigTimersOnly bool
|
tsigTimersOnly bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user