Page MenuHomeFreeBSD

Allow revolver(5) to set RES_USEVC
ClosedPublic

Authored by bz on Aug 6 2018, 4:13 PM.
Tags
None
Referenced Files
F172108312: D16607.id46770.diff
Wed, Sep 16, 5:10 AM
Unknown Object (File)
Thu, Sep 10, 9:56 PM
Unknown Object (File)
Mon, Sep 7, 10:35 AM
Unknown Object (File)
Sun, Sep 6, 2:50 PM
Unknown Object (File)
Sun, Sep 6, 6:52 AM
Unknown Object (File)
Fri, Sep 4, 12:48 AM
Unknown Object (File)
Thu, Sep 3, 6:01 PM
Unknown Object (File)
Thu, Sep 3, 9:48 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.