Re: [gupnp] Re: [oh-commits] gupnp: master Ignore point-to-point interfaces in the Unix connection manager Ross Burton



Hi,

On Wed, Nov 25, 2009 at 2:20 PM, Ross Burton <ross openedhand com> wrote:
> On Wed, 2009-11-25 at 14:10 +0200, Zeeshan Ali (Khattak) wrote:
>>   I don't agree with this patch. ContextManager should create contexts
>> for each up interface and then it's up to the application which ones
>> it wants to use and which ones it wants to ignore. I can imagine a
>> usecase for P2P: testing. OTOH, GSSDPClient not choosing this is OK
>> since:
>>
>> 1. New apps should really be using ContextManager
>> 2. In that case, it will only be one interface that will be
>> automatically chosen for app and app doesn't have any control over
>> which one will be chosen.
>
> Can you elaborate on your use-case for a p2p connection?

  Here are two i can come-up with from the back of my mind:

1. Me running some services at work and wanting to test it with my
client from home or viceversa.
2. Accessing/copying my media on device A to device B and just
seting-up a p2p connection between them to do so.

> don't want my local UPnP applications talking down my 3G or VPN
> connections,

   For clients you don't want such choices or do you? it's usually for
server-side where you don't want to advertise services on all
networks.

> and expecting all applications to check for and ignore
> these connections (is there even API to do that?) sounds like a bad
> idea.

  As I said above, not all applications want this so I didn't care to
provide any APIs for this but you are welcome to do so. I just think
that this is a policy decision and we shouldn't make it for everyone
in the library and not provide any way to override this behavior even.

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]