Commit 5219400
committed
Refactor domain resolution in main.go to use context with timeout for improved DNS lookup handling. This change enhances the reliability of the resolver by ensuring that the lookup respects the specified timeout.
1 parent 5ad1ae7 commit 5219400
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
376 | | - | |
| 374 | + | |
377 | 375 | | |
378 | 376 | | |
379 | 377 | | |
380 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
381 | 382 | | |
382 | | - | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
0 commit comments