Merge branch 'v2.0' into v2.1

This commit is contained in:
Fernandez Ludovic
2019-12-09 18:48:20 +01:00
24 changed files with 737 additions and 341 deletions

View File

@@ -158,6 +158,10 @@ func (e *TCPEntryPoint) StartTCP(ctx context.Context) {
conn, err := e.listener.Accept()
if err != nil {
logger.Error(err)
if netErr, ok := err.(net.Error); ok && netErr.Temporary() {
continue
}
return
}