{"action":"created","issue":{"url":"https://api.github.com/repos/hierynomus/sshj/issues/181","labels_url":"https://api.github.com/repos/hierynomus/sshj/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/hierynomus/sshj/issues/181/comments","events_url":"https://api.github.com/repos/hierynomus/sshj/issues/181/events","html_url":"https://github.com/hierynomus/sshj/pull/181","id":58745548,"number":181,"title":"Fix length field for SSH_FXP_WRITE packets.","user":{"login":"dkocher","id":71733,"avatar_url":"https://avatars.githubusercontent.com/u/71733?v=3","gravatar_id":"","url":"https://api.github.com/users/dkocher","html_url":"https://github.com/dkocher","followers_url":"https://api.github.com/users/dkocher/followers","following_url":"https://api.github.com/users/dkocher/following{/other_user}","gists_url":"https://api.github.com/users/dkocher/gists{/gist_id}","starred_url":"https://api.github.com/users/dkocher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkocher/subscriptions","organizations_url":"https://api.github.com/users/dkocher/orgs","repos_url":"https://api.github.com/users/dkocher/repos","events_url":"https://api.github.com/users/dkocher/events{/privacy}","received_events_url":"https://api.github.com/users/dkocher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-24T14:28:52Z","updated_at":"2015-03-27T20:29:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hierynomus/sshj/pulls/181","html_url":"https://github.com/hierynomus/sshj/pull/181","diff_url":"https://github.com/hierynomus/sshj/pull/181.diff","patch_url":"https://github.com/hierynomus/sshj/pull/181.patch"},"body":"Proposed fix for #180. "},"comment":{"url":"https://api.github.com/repos/hierynomus/sshj/issues/comments/87079287","html_url":"https://github.com/hierynomus/sshj/pull/181#issuecomment-87079287","issue_url":"https://api.github.com/repos/hierynomus/sshj/issues/181","id":87079287,"user":{"login":"dkocher","id":71733,"avatar_url":"https://avatars.githubusercontent.com/u/71733?v=3","gravatar_id":"","url":"https://api.github.com/users/dkocher","html_url":"https://github.com/dkocher","followers_url":"https://api.github.com/users/dkocher/followers","following_url":"https://api.github.com/users/dkocher/following{/other_user}","gists_url":"https://api.github.com/users/dkocher/gists{/gist_id}","starred_url":"https://api.github.com/users/dkocher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkocher/subscriptions","organizations_url":"https://api.github.com/users/dkocher/orgs","repos_url":"https://api.github.com/users/dkocher/repos","events_url":"https://api.github.com/users/dkocher/events{/privacy}","received_events_url":"https://api.github.com/users/dkocher/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T20:29:17Z","updated_at":"2015-03-27T20:29:17Z","body":"I have errors when omitting the length in the before the raw bytes in the `WRITE` packet.\r\n\r\n```\r\nnet.schmizz.sshj.sftp.SFTPException: EOF while reading packet\r\n\tat net.schmizz.sshj.sftp.PacketReader.readIntoBuffer(PacketReader.java:54)\r\n\tat net.schmizz.sshj.sftp.PacketReader.getPacketLength(PacketReader.java:59)\r\n\tat net.schmizz.sshj.sftp.PacketReader.readPacket(PacketReader.java:75)\r\n\tat net.schmizz.sshj.sftp.PacketReader.run(PacketReader.java:87)\r\n```\r\n"}}