Commit 2fce523
authored
Close old HTTP client on registry reconnect
Fixes a connection leak in RegistryTEEConnection.reconnect() by closing the old HTTP client before establishing a new connection, preventing resource leaks in long-running processes.
Signed-off-by: AMATH <116212274+amathxbt@users.noreply.github.com>1 parent 516f877 commit 2fce523
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments