Unfortunately, the sandstorm-http-bridge in version 0.166 has a subtle memory corruption bug. I have not been able to reproduce the bug with Davros, but it is observable with FileDrop by repeatedly refreshing the grain frame -- eventually, the app stops responding to requests.
This bug has been fixed in v0.168, which I just pushed now (run sandstorm update if you don't have it yet).
Oh, also, this fixes the socket leak you observed -- although updates to the Sandstorm shell should also fix that leak in a different way, most of the time.
Sorry to do this again.
Unfortunately, the sandstorm-http-bridge in version 0.166 has a subtle memory corruption bug. I have not been able to reproduce the bug with Davros, but it is observable with FileDrop by repeatedly refreshing the grain frame -- eventually, the app stops responding to requests.
This bug has been fixed in v0.168, which I just pushed now (run
sandstorm update
if you don't have it yet).