mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
dns: support default port 53 in dnsserver config
This commit is contained in:
1 parent
c86cadb4be
commit
6bd77a0b2a
5 files changed
+21
-12
No files matched your search
@@ -57,7 +57,7 @@ func (s *HTTP) Serve(cc net.Conn) {
|
||||
|
||||
if s.pretend {
|
||||
fmt.Fprintf(c, "%s 404 Not Found\r\nServer: nginx\r\n\r\n404 Not Found\r\n", req.proto)
|
||||
log.F("[http] %s <-> %s,pretend as web server", c.RemoteAddr().String(), s.Addr())
|
||||
log.F("[http] %s <-> %s, pretend as web server", c.RemoteAddr().String(), s.Addr())
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user