Page MenuHomeFreeBSD

Allow revolver(5) to set RES_USEVC
ClosedPublic

Authored by bz on Aug 6 2018, 4:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 22, 10:17 PM
Unknown Object (File)
Tue, Apr 21, 9:09 AM
Unknown Object (File)
Sun, Apr 19, 10:37 AM
Unknown Object (File)
Wed, Apr 15, 12:59 PM
Unknown Object (File)
Fri, Apr 10, 10:16 AM
Unknown Object (File)
Thu, Apr 9, 10:40 PM
Unknown Object (File)
Tue, Apr 7, 10:59 AM
Unknown Object (File)
Sat, Apr 4, 11:04 PM
Subscribers

Details

Summary

Allow the use of TCP instead of UDP for queries by setting options use-vc in resolv.conf which sets RES_USEVC.

Test Plan

Not even compile tested.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Since p_option() in res_debug.c returns "usevc" for RES_USEVC,
I think it is better to use "usevc" instead of "use-vc".
Other than that, it seems good to me.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 16 2018, 1:18 PM
This revision was automatically updated to reflect the committed changes.