Commit 6619a51
authored
Don't handle raw socket after it's wrapped in connection (#530)
When the connection to the server is lost during or right after sending HELLO, the driver was attempting to get the address from a closed socket which causes an OSError. There is no need to handle the raw socket after a successful handshake anyway as it will be wrapped in a BOLT connection object that already logs networks errors and takes care of the underlying socket.1 parent cdb1e26 commit 6619a51
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 251 | + | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
0 commit comments