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, Nov 23, 2:05 AM
Unknown Object (File)
Tue, Nov 19, 8:30 PM
Unknown Object (File)
Tue, Nov 19, 7:14 PM
Unknown Object (File)
Mon, Nov 18, 5:05 AM
Unknown Object (File)
Sat, Nov 16, 12:23 AM
Unknown Object (File)
Oct 2 2024, 2:33 PM
Unknown Object (File)
Oct 1 2024, 1:24 PM
Unknown Object (File)
Sep 30 2024, 5:03 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.