Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-21 | fix regression in support for resolv.conf attempts option | Rich Felker | 1 | -2/+2 | |
commit d6cb08bcaca4ff1f921375510ca72bccea969c75 moved the code and introduced an incorrect string offset for the new parsing, probably due to a copy-and-paste error. patch by Stefan Sedich. | |||||
2016-01-28 | fix uninitialized variable in new resolv.conf parser | Rich Felker | 1 | -1/+1 | |
2016-01-28 | fix logic for matching search/domain keywords in resolv.conf | Rich Felker | 1 | -1/+1 | |
2016-01-28 | factor resolv.conf parsing out of res_msend to its own file | Rich Felker | 1 | -0/+93 | |
this change is made in preparation for adding search domains, for which higher-level code will need to parse resolv.conf. simply parsing it twice for each lookup would be one reasonable option, but the existing parser code was buggy anyway, which suggested to me that it's a bad idea to have two variants of this code in two different places. the old code in res_msend potentially misinterpreted overly long lines in resolv.conf, and stopped parsing after it found 3 nameservers, even if there were relevant options left to be parsed later in the file. |