{"action":"created","issue":{"url":"https://api.github.com/repos/simia-tech/rust-delix/issues/3","labels_url":"https://api.github.com/repos/simia-tech/rust-delix/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/simia-tech/rust-delix/issues/3/comments","events_url":"https://api.github.com/repos/simia-tech/rust-delix/issues/3/events","html_url":"https://github.com/simia-tech/rust-delix/issues/3","id":119286887,"number":3,"title":"Implement simple http relay interface","user":{"login":"phifty","id":213830,"avatar_url":"https://avatars.githubusercontent.com/u/213830?v=3","gravatar_id":"","url":"https://api.github.com/users/phifty","html_url":"https://github.com/phifty","followers_url":"https://api.github.com/users/phifty/followers","following_url":"https://api.github.com/users/phifty/following{/other_user}","gists_url":"https://api.github.com/users/phifty/gists{/gist_id}","starred_url":"https://api.github.com/users/phifty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phifty/subscriptions","organizations_url":"https://api.github.com/users/phifty/orgs","repos_url":"https://api.github.com/users/phifty/repos","events_url":"https://api.github.com/users/phifty/events{/privacy}","received_events_url":"https://api.github.com/users/phifty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"coopernurse","id":244690,"avatar_url":"https://avatars.githubusercontent.com/u/244690?v=3","gravatar_id":"","url":"https://api.github.com/users/coopernurse","html_url":"https://github.com/coopernurse","followers_url":"https://api.github.com/users/coopernurse/followers","following_url":"https://api.github.com/users/coopernurse/following{/other_user}","gists_url":"https://api.github.com/users/coopernurse/gists{/gist_id}","starred_url":"https://api.github.com/users/coopernurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coopernurse/subscriptions","organizations_url":"https://api.github.com/users/coopernurse/orgs","repos_url":"https://api.github.com/users/coopernurse/repos","events_url":"https://api.github.com/users/coopernurse/events{/privacy}","received_events_url":"https://api.github.com/users/coopernurse/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/simia-tech/rust-delix/milestones/1","html_url":"https://github.com/simia-tech/rust-delix/milestones/First%20version%200.1.0","labels_url":"https://api.github.com/repos/simia-tech/rust-delix/milestones/1/labels","id":1480835,"number":1,"title":"First version 0.1.0","description":"This version have a minimal feature set. This includes...\r\n\r\n- Constant node discovery\r\n- Direct transport\r\n- Symmetric cipher\r\n- Simple metrics\r\n- Simple HTTP relay","creator":{"login":"phifty","id":213830,"avatar_url":"https://avatars.githubusercontent.com/u/213830?v=3","gravatar_id":"","url":"https://api.github.com/users/phifty","html_url":"https://github.com/phifty","followers_url":"https://api.github.com/users/phifty/followers","following_url":"https://api.github.com/users/phifty/following{/other_user}","gists_url":"https://api.github.com/users/phifty/gists{/gist_id}","starred_url":"https://api.github.com/users/phifty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phifty/subscriptions","organizations_url":"https://api.github.com/users/phifty/orgs","repos_url":"https://api.github.com/users/phifty/repos","events_url":"https://api.github.com/users/phifty/events{/privacy}","received_events_url":"https://api.github.com/users/phifty/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":13,"state":"open","created_at":"2016-01-03T06:26:18Z","updated_at":"2016-01-05T01:20:11Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-11-28T11:21:16Z","updated_at":"2016-01-05T14:25:30Z","closed_at":null,"body":"The interface should open a port and listen for http requests. It's not clear yet how the request is translated to the delix network. More work on the node might be need in order to work on this issue."},"comment":{"url":"https://api.github.com/repos/simia-tech/rust-delix/issues/comments/169014880","html_url":"https://github.com/simia-tech/rust-delix/issues/3#issuecomment-169014880","issue_url":"https://api.github.com/repos/simia-tech/rust-delix/issues/3","id":169014880,"user":{"login":"phifty","id":213830,"avatar_url":"https://avatars.githubusercontent.com/u/213830?v=3","gravatar_id":"","url":"https://api.github.com/users/phifty","html_url":"https://github.com/phifty","followers_url":"https://api.github.com/users/phifty/followers","following_url":"https://api.github.com/users/phifty/following{/other_user}","gists_url":"https://api.github.com/users/phifty/gists{/gist_id}","starred_url":"https://api.github.com/users/phifty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phifty/subscriptions","organizations_url":"https://api.github.com/users/phifty/orgs","repos_url":"https://api.github.com/users/phifty/repos","events_url":"https://api.github.com/users/phifty/events{/privacy}","received_events_url":"https://api.github.com/users/phifty/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T14:25:30Z","updated_at":"2016-01-05T14:25:30Z","body":"The routing happens mostly in the service_map.rs.\r\n\r\nFor the `http_static`, I've have currently two concurrent versions. One that uses hyper and one that pipes just tcp stream without doing much parsing. It only catches the `X-Delix-Service` header. I'm not sure which one will win in the end. Surprisingly the hyper-version has more code since the request-serialization is not build in and doesn't work yet. The raw-version is basically working, but doesn't support chunked transfers yet. Some of the code (not all) is on the `relay` branch."}}