Commit b971362
gh-96339: Reject socktype and timeout when address is None
They are not applicable to the syslog module and were silently ignored.
Also set unixsocket to False in this case.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b319d9f commit b971362
3 files changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
639 | | - | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
640 | 643 | | |
641 | 644 | | |
642 | 645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
910 | 914 | | |
| 915 | + | |
911 | 916 | | |
912 | 917 | | |
913 | 918 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2207 | 2207 | | |
2208 | 2208 | | |
2209 | 2209 | | |
| 2210 | + | |
2210 | 2211 | | |
2211 | 2212 | | |
2212 | 2213 | | |
| |||
2216 | 2217 | | |
2217 | 2218 | | |
2218 | 2219 | | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
2219 | 2227 | | |
2220 | 2228 | | |
2221 | 2229 | | |
| |||
0 commit comments