fix middle.close

addon-dailer
lqqyt2423 2 years ago
parent b2bf9175bc
commit dd68ba2f53

@ -133,9 +133,8 @@ func (m *middle) start() error {
}
func (m *middle) close() error {
err := m.server.Close()
close(m.listener.doneChan)
return err
return nil
}
func (m *middle) dial(req *http.Request) (net.Conn, error) {

Loading…
Cancel
Save