[haiku-commits] Re: haiku: hrev50641 - src/add-ons/media/plugins/http_streamer

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Nov 2016 21:00:09 +0100

On Tue, Nov 01, 2016 at 09:37:48AM +0100, Axel Dörfler wrote:

Am 31/10/2016 um 18:12 schrieb pulkomandy@xxxxxxxxxxxxx:
  - Remove custom BUrlContext, use the shared one to simplify ownership
    management. This means all HTTP media streams in an application share
    the same context (including cookies), however.

That doesn't sound right, though.
Does this mean that two completely different sites now share their cookies?

The cookies are, of course, local to a domain, and that restriction is
applied when deciing which cookies to send to the server (as well as
path and other flags restrictions).
However, if, in the same MediaPlayer (or WebPositive) session, you play
two files from the same website, the website can track you. This is how
it works for web pages.

If this is not wanted for MediaPlayer, a better solution would be to
clear the context from cookies for each new file played. But creating a
completely new context would create more problems, for example, proxy
settings would need to be propagated to each of them, instead of just
updating the global context.

-- 
Adrien.

Other related posts: