Commit 83c0185
Fix nil pointer in algeneva NewConnectionEx error path
The conn variable was shadowed by the return from newConnectionEx,
causing CloseOnHandshakeFailure to receive nil when the handshake
fails (e.g., port readiness check sends empty data).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 56f1f1c commit 83c0185
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments