osquery / osquery-go

Go bindings for osquery
MIT License
386 stars 78 forks source link

Close the client connection on shutdown #112

Closed directionless closed 1 year ago

directionless commented 1 year ago

In #73, we got a pretty reasonable looking PR to close the client connection on shutdown. But #107 has merged, I wanted to update this. It should only close the client connection if the server created it. If it was passed in, then we should assume the caller is handling it

Closes: #73