{"action":"created","issue":{"url":"https://api.github.com/repos/inspircd/inspircd/issues/1101","labels_url":"https://api.github.com/repos/inspircd/inspircd/issues/1101/labels{/name}","comments_url":"https://api.github.com/repos/inspircd/inspircd/issues/1101/comments","events_url":"https://api.github.com/repos/inspircd/inspircd/issues/1101/events","html_url":"https://github.com/inspircd/inspircd/issues/1101","id":110047603,"number":1101,"title":"Lines sent to client are not truncated to RFC spec","user":{"login":"richardg867","id":540874,"avatar_url":"https://avatars.githubusercontent.com/u/540874?v=3","gravatar_id":"","url":"https://api.github.com/users/richardg867","html_url":"https://github.com/richardg867","followers_url":"https://api.github.com/users/richardg867/followers","following_url":"https://api.github.com/users/richardg867/following{/other_user}","gists_url":"https://api.github.com/users/richardg867/gists{/gist_id}","starred_url":"https://api.github.com/users/richardg867/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardg867/subscriptions","organizations_url":"https://api.github.com/users/richardg867/orgs","repos_url":"https://api.github.com/users/richardg867/repos","events_url":"https://api.github.com/users/richardg867/events{/privacy}","received_events_url":"https://api.github.com/users/richardg867/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-06T16:26:35Z","updated_at":"2015-10-06T20:48:44Z","closed_at":null,"body":"InspIRCd will truncate any lines sent to a client to 512 bytes plus CRLF, violating RFC 1459:\r\n\r\n>IRC messages are always lines of characters terminated with a CR-LF\r\n>(Carriage Return - Line Feed) pair, and these messages **shall not\r\n>exceed 512 characters in length, counting all characters including\r\n>the trailing CR-LF.** Thus, there are 510 characters maximum allowed\r\n>for the command and its parameters.  There is no provision for\r\n>continuation message lines.\r\n\r\nThis incorrect truncation causes issues with some legacy clients upon receiving a 512 byte long line, which, after adding the CRLF, is 514 bytes long. InspIRCd should truncate lines to 510 bytes plus CRLF instead in order to be RFC compliant."},"comment":{"url":"https://api.github.com/repos/inspircd/inspircd/issues/comments/145996269","html_url":"https://github.com/inspircd/inspircd/issues/1101#issuecomment-145996269","issue_url":"https://api.github.com/repos/inspircd/inspircd/issues/1101","id":145996269,"user":{"login":"SaberUK","id":1565825,"avatar_url":"https://avatars.githubusercontent.com/u/1565825?v=3","gravatar_id":"","url":"https://api.github.com/users/SaberUK","html_url":"https://github.com/SaberUK","followers_url":"https://api.github.com/users/SaberUK/followers","following_url":"https://api.github.com/users/SaberUK/following{/other_user}","gists_url":"https://api.github.com/users/SaberUK/gists{/gist_id}","starred_url":"https://api.github.com/users/SaberUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaberUK/subscriptions","organizations_url":"https://api.github.com/users/SaberUK/orgs","repos_url":"https://api.github.com/users/SaberUK/repos","events_url":"https://api.github.com/users/SaberUK/events{/privacy}","received_events_url":"https://api.github.com/users/SaberUK/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T20:48:44Z","updated_at":"2015-10-06T20:48:44Z","body":"I fixed this in master already with the move to `<limits:maxline>` but unfortunately can't fix it in 2.0 for compatibility reasons."}}