andydunstall / piko

An open-source alternative to Ngrok, designed to serve production traffic and be simple to host (particularly on Kubernetes)
MIT License
1.9k stars 55 forks source link

Ensure retry #165

Closed moredure closed 1 month ago

moredure commented 1 month ago

We can detect that listener is closed at the l.connect stage via closeCtx, in other cases we should retry to connect anyway

andydunstall commented 1 month ago

@moredure Though we don't want to attempt to reconnect on shutdown? I thought we agreed to patch yamux causing incorrect ErrSessionShutdown?