{"action":"opened","issue":{"url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/234","labels_url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/234/comments","events_url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/234/events","html_url":"https://github.com/mirage/ocaml-cohttp/issues/234","id":54964329,"number":234,"title":"Getting the remote IP in a Client.call","user":{"login":"SGrondin","id":2441123,"avatar_url":"https://avatars.githubusercontent.com/u/2441123?v=3","gravatar_id":"","url":"https://api.github.com/users/SGrondin","html_url":"https://github.com/SGrondin","followers_url":"https://api.github.com/users/SGrondin/followers","following_url":"https://api.github.com/users/SGrondin/following{/other_user}","gists_url":"https://api.github.com/users/SGrondin/gists{/gist_id}","starred_url":"https://api.github.com/users/SGrondin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SGrondin/subscriptions","organizations_url":"https://api.github.com/users/SGrondin/orgs","repos_url":"https://api.github.com/users/SGrondin/repos","events_url":"https://api.github.com/users/SGrondin/events{/privacy}","received_events_url":"https://api.github.com/users/SGrondin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-21T01:11:22Z","updated_at":"2015-01-21T01:11:22Z","closed_at":null,"body":"From reading the source, it doesn't seem to be possible because the connection isn't exposed at any time to the caller. It would also be great to be able to know what IP Client.call tried to connect to when it raised an exception.\r\n\r\nIs there a way to get around those limitations? I think it's a necessary feature for an HTTP library to have.\r\n\r\nThanks a lot and good job on building cohttp, it's a great tool."}}