[Papyon-bugs] [Bug 29967] p2pv2 fails when endpoints aren't updated yet

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 2 14:52:43 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29967

--- Comment #2 from riccardo <c10ud.dev at gmail.com> 2010-09-02 14:52:43 PDT ---
(In reply to comment #1)
> How does it work with WLM ? wouldn't it take the GUIDs from the JOI on the SB?
> or just send without the GUID and then use the GUID it receives in the
> response?
> also, how could it be version 2 and peer_guid is None? what is the deciding
> factor? I thought that it should be :
> if peer_guid is None:
>    version = 1
> else:
>    version = 2
> 
> am I wrong ?

yesterday i had a brief look at the code with lfrb, and he said he thinks the
endpoint list isn't ready yet, so i guess papyon is updating this list with
UBXs (i didn't have time to check the code) and this bug is sort of a race
condition where this list isn't updated yet and the p2p transfer is started
(because i am starting the p2p transfer as soon as i receive the dp-changed
signal that comes with NLNs).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the papyon-bugs mailing list