Re: Question on adding some network-related features.

Patrick McManus <[email protected]> Sun, 24 Feb 2013 13:41:53 -0500
Newsgroups gmane.comp.mozilla.devel.netlib
Message-ID <CAOdDvNr1-67wxsrOEcprvPgFMK4vHTLK4WOf7RPwK4U7OXdhyA@mail.gmail.com>
On Sat, Feb 23, 2013 at 10:32 PM, Ben Greear <[email protected]> wrote:
> On 02/23/2013 03:23 PM, Patrick McManus wrote:
>>
>
> I implemented it with environment variables so I didn't have
> to figure out how to get the config arguments properly passed
> down to the socket code.
>

http://mxr.mozilla.org/mozilla-central/source/modules/libpref/public/nsIPrefBranch.idl


>> as jason said, we're moving towards libunbound with some alacrity..
>> can you do what you need in that framework?
>
>
> It does not appear to offer all that I want.  I'd want to bind
> to local interface, not just IP address, and more importantly,
> there does not seem to be a way to specify that a particular
> DNS server be used by a particular process.  I'm going to have hundreds

I encourage you to work with josh aas and wouter from
https://bugzilla.mozilla.org/show_bug.cgi?id=773648 to make sure you
can get what you need - they seem like reasonable requirements at
first blush.

>
> Do you normally post patches to mailing lists for review, or do I need
> to open a bugzilla bug and attach a patch there?
>
> Either way, can you suggest a good reference for the 'hg' commands
> needed to create patches, etc?  Is there anything like stgit for hg?

bugzilla and the patches attached therein are how reviews and checkins
happen for firefox. Its not optimal.

https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F