Project

General

Profile

Bug #3976

Updated by Junxiao Shi over 7 years ago

NLSR currently creates adjacency by invoking NFD `faces/create` command and expecting 200 response. From Davide's comment on https://gerrit.named-data.net/#/c/3716/: 
 Since #3232 <https://gerrit.named-data.net/3012>, NFD `faces/create` command will respond with code 409 if a face with same RemoteUri already exists, breaking the expectation of NLSR. This change is responsible: 
 To solve this problem, NLSR should either use `faces/query` dataset to find existing face, or inspect the response body that comes with code 409 to determine whether the existing face matches the expectation. https://gerrit.named-data.net/3012

Back