Commit 5eb18de
committed
handle bandit's get peer data exception
As of bandit v1.5.7 during client disconnection it will raise "Unable to obtain transport_info: [reason]"
everytime it tries to get the transport info. This commit tries to handle that exception by returning nil
instead of bubbling the exception.1 parent d6798d5 commit 5eb18de
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
216 | 226 | | |
217 | 227 | | |
218 | 228 | | |
| |||
0 commit comments