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)
Sat, Apr 20, 4:24 PM
Unknown Object (File)
Fri, Apr 19, 2:38 PM
Unknown Object (File)
Jan 17 2024, 1:59 PM
Unknown Object (File)
Dec 20 2023, 3:32 AM
Unknown Object (File)
Nov 27 2023, 7:03 AM
Unknown Object (File)
Nov 26 2023, 2:17 PM
Unknown Object (File)
Nov 24 2023, 3:02 AM
Unknown Object (File)
Nov 22 2023, 1:32 AM
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.