{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaWeb/HTTP.jl/issues/233","repository_url":"https://api.github.com/repos/JuliaWeb/HTTP.jl","labels_url":"https://api.github.com/repos/JuliaWeb/HTTP.jl/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/JuliaWeb/HTTP.jl/issues/233/comments","events_url":"https://api.github.com/repos/JuliaWeb/HTTP.jl/issues/233/events","html_url":"https://github.com/JuliaWeb/HTTP.jl/issues/233","id":313504396,"number":233,"title":"IOError(EOFError()","user":{"login":"quinnj","id":2896623,"avatar_url":"https://avatars3.githubusercontent.com/u/2896623?v=4","gravatar_id":"","url":"https://api.github.com/users/quinnj","html_url":"https://github.com/quinnj","followers_url":"https://api.github.com/users/quinnj/followers","following_url":"https://api.github.com/users/quinnj/following{/other_user}","gists_url":"https://api.github.com/users/quinnj/gists{/gist_id}","starred_url":"https://api.github.com/users/quinnj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinnj/subscriptions","organizations_url":"https://api.github.com/users/quinnj/orgs","repos_url":"https://api.github.com/users/quinnj/repos","events_url":"https://api.github.com/users/quinnj/events{/privacy}","received_events_url":"https://api.github.com/users/quinnj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T22:04:24Z","updated_at":"2018-04-16T05:10:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"@samoconnor, for the `IOError(EOFError()) ...` errors, I wonder if we could include how long the underlying connection had been idle (if applicable); this could be an easy way to detect if an idle timeout should be used (for users who run in to this problem). I'm in a situation right now where I realized I'm running in to these errors every so often, but it's not totally straightforward how to go about figuring out if this is an idle connection timeout error or not; if I had the timeout value in the error message, I could quickly scan all these types of errors in my logs and (possibly) find a pattern where requests failed most consistently w/ connections that were over 30 seconds or whatever.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaWeb/HTTP.jl/issues/comments/381481389","html_url":"https://github.com/JuliaWeb/HTTP.jl/issues/233#issuecomment-381481389","issue_url":"https://api.github.com/repos/JuliaWeb/HTTP.jl/issues/233","id":381481389,"user":{"login":"samoconnor","id":8266283,"avatar_url":"https://avatars2.githubusercontent.com/u/8266283?v=4","gravatar_id":"","url":"https://api.github.com/users/samoconnor","html_url":"https://github.com/samoconnor","followers_url":"https://api.github.com/users/samoconnor/followers","following_url":"https://api.github.com/users/samoconnor/following{/other_user}","gists_url":"https://api.github.com/users/samoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/samoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoconnor/subscriptions","organizations_url":"https://api.github.com/users/samoconnor/orgs","repos_url":"https://api.github.com/users/samoconnor/repos","events_url":"https://api.github.com/users/samoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/samoconnor/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T05:10:02Z","updated_at":"2018-04-16T05:10:02Z","author_association":"COLLABORATOR","body":"With this change: https://github.com/JuliaWeb/HTTP.jl/commit/c82979ea83392910897d6f45a0b3b08604300709#diff-4f12f5771d582a1c2672dbe6a4346be5R590\r\n... time since last read is always displayed in `show(::IO, ::Connection)` so the `♻️  Idle` log when an idle connection is reused will now show the number of seconds since the last read (46s):\r\n\r\n```julia\r\njulia> HTTP.get(\"http://httpbin.org/ip\")\r\nDEBUG: 2018-04-16T15:05:32.758 8b0b ♻️  Idle:           ⏸    1↑     1↓   46s httpbin.org:80:61070 ≣16 RawFD(23)\r\nDEBUG: 2018-04-16T15:05:32.76  8b0b 👁  Start write:T1  ⏸    1↑     1↓   46s httpbin.org:80:61070 ≣16 RawFD(23)\r\n```"}}
{"actor":{"display_login":"samoconnor"}}