Results comments of Z. Luo

对gethostbyname方法加锁可以解决这个问题,或者换成线程安全的getaddrinfo ``` static std::string TryLookup(const std::string& address) { // .. g_mt.lock(); struct hostent* host = gethostbyname(address.c_str()); g_mt.unlock(); // ... ```

my case: construct req in mainloop, handle in DLL (has swap op), ShareDtor Crash !! I fix like: DLLMethod(Request* req, Response* resp) { Request* copy_req = new Request; copy_req.CopyFrom(*req); //......has...