mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ipset: only allow to set ipset in rule files #69
This commit is contained in:
1 parent
86478d2c25
commit
5a43cf873e
14 files changed
+59
-71
No files matched your search
+2
-1
@@ -93,7 +93,8 @@ func (s *Unix) ListenAndServe() {
|
||||
|
||||
// Serve serves requests
|
||||
func (s *Unix) Serve(c net.Conn) {
|
||||
defer c.Close()
|
||||
// we know the internal server will close the connection after serve
|
||||
// defer c.Close()
|
||||
|
||||
if s.server != nil {
|
||||
s.server.Serve(c)
|
||||
|
||||
Reference in new issue
Block a user