Why don't we stop unix_server from listening in shutdown stage as well?
https://github.com/EOSIO/eos/blob/59626f1e6361df3b715e926ee13a9a8e84d177af/plugins/http_plugin/http_plugin.cpp#L550 add
if(my->unix_server.is_listening())
my->unix_server.stop_listening();
We should also unlink the socket file. Pull requests gratefully accepted. Please branch from the develop branch.
We should also unlink the socket file
Already does that
@spoonincode Can you kindly show me the position of source code?
https://github.com/EOSIO/eos/blob/59626f1e6361df3b715e926ee13a9a8e84d177af/plugins/http_plugin/include/eosio/http_plugin/local_endpoint.hpp#L205
oh and here too, so it looks like stop_listenting() should remove it
https://github.com/EOSIO/eos/blob/59626f1e6361df3b715e926ee13a9a8e84d177af/plugins/http_plugin/include/eosio/http_plugin/local_endpoint.hpp#L435
Yes, I think the destructor is not enough. The shutdown stage needs explicitly call.
Fix merged