         var newMw = mw
         if let curMw = newMw.popLast() {
             curMw.handle(req, next: { (mwResp) -> Void in
-                // print("[BRHTTPServer] trying \(req.path) \(curMw)")
                 if let httpResp = mwResp.response {
                     httpResp.done {
                         do {

                    }
                }
            }
//            self.shutdownServer()
        }
    }
    

                var v: Int32 = 1
                setsockopt(cli_fd, SOL_SOCKET, SO_NOSIGPIPE, &v, socklen_t(MemoryLayout<Int32>.size))
                self.addClient(cli_fd)
                self.Q.async { () -> Void in
                    while let req = try? BRHTTPRequestImpl(readFromFd: cli_fd, queue: self.Q) {
                        self.dispatch(middleware: self.middleware, req: req) { resp in
                            _ = Darwin.shutdown(cli_fd, SHUT_RDWR)
                            close(cli_fd)
                            self.rmClient(cli_fd)
                        }
