{"action":"opened","issue":{"url":"https://api.github.com/repos/gdamore/mangos/issues/103","labels_url":"https://api.github.com/repos/gdamore/mangos/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/gdamore/mangos/issues/103/comments","events_url":"https://api.github.com/repos/gdamore/mangos/issues/103/events","html_url":"https://github.com/gdamore/mangos/issues/103","id":58236959,"number":103,"title":"Loop detection required","user":{"login":"gdamore","id":1295229,"avatar_url":"https://avatars.githubusercontent.com/u/1295229?v=3","gravatar_id":"","url":"https://api.github.com/users/gdamore","html_url":"https://github.com/gdamore","followers_url":"https://api.github.com/users/gdamore/followers","following_url":"https://api.github.com/users/gdamore/following{/other_user}","gists_url":"https://api.github.com/users/gdamore/gists{/gist_id}","starred_url":"https://api.github.com/users/gdamore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdamore/subscriptions","organizations_url":"https://api.github.com/users/gdamore/orgs","repos_url":"https://api.github.com/users/gdamore/repos","events_url":"https://api.github.com/users/gdamore/events{/privacy}","received_events_url":"https://api.github.com/users/gdamore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-19T17:03:10Z","updated_at":"2015-02-19T17:03:10Z","closed_at":null,"body":"req/rep (and this is the only one where it is possible at present) needs to detect and prevent loops.  Specifically, the standard requires that if more than 8 hops (by default) are present, then we should discard the request at the REQ end point.\r\n\r\nLikewise, the new RFC I'm writing for SURVEYOR will have a similar approach.  And I think STAR and BUS should probably do the same thing -- indeed, I've become convinced that pretty much *all* of these protocols should use a stack backtrace to provide loop prevention if nothing else.  (Admittedly pub/sub could probably and push/pull could probably get by with nothing more than a hop count in the header.)"}}