{"action":"created","issue":{"url":"https://api.github.com/repos/oktal/pistache/issues/22","repository_url":"https://api.github.com/repos/oktal/pistache","labels_url":"https://api.github.com/repos/oktal/pistache/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/oktal/pistache/issues/22/comments","events_url":"https://api.github.com/repos/oktal/pistache/issues/22/events","html_url":"https://github.com/oktal/pistache/issues/22","id":185270946,"number":22,"title":"accepting POST data larger than 1024","user":{"login":"dicknose","id":23066131,"avatar_url":"https://avatars2.githubusercontent.com/u/23066131?v=3","gravatar_id":"","url":"https://api.github.com/users/dicknose","html_url":"https://github.com/dicknose","followers_url":"https://api.github.com/users/dicknose/followers","following_url":"https://api.github.com/users/dicknose/following{/other_user}","gists_url":"https://api.github.com/users/dicknose/gists{/gist_id}","starred_url":"https://api.github.com/users/dicknose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dicknose/subscriptions","organizations_url":"https://api.github.com/users/dicknose/orgs","repos_url":"https://api.github.com/users/dicknose/repos","events_url":"https://api.github.com/users/dicknose/events{/privacy}","received_events_url":"https://api.github.com/users/dicknose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-26T00:55:16Z","updated_at":"2017-03-20T20:42:03Z","closed_at":null,"body":"I seem to be having a problem when the server is getting POST data that is long.\nUsing the example http_server and sending:\ncurl 0.0.0.0:9080/echo -H \"Content-Type: application/xml\" -d @sample.xml\n\nthe server will echo back if the size of sample.xml is less than 1024. Bigger and it just hangs, no response. I changed the test http_server to cout the length of body() before doing the echo response and it doesnt output anything on these large sets, implying to me that the handler is not even called.\n"},"comment":{"url":"https://api.github.com/repos/oktal/pistache/issues/comments/287891195","html_url":"https://github.com/oktal/pistache/issues/22#issuecomment-287891195","issue_url":"https://api.github.com/repos/oktal/pistache/issues/22","id":287891195,"user":{"login":"cneira","id":4327541,"avatar_url":"https://avatars3.githubusercontent.com/u/4327541?v=3","gravatar_id":"","url":"https://api.github.com/users/cneira","html_url":"https://github.com/cneira","followers_url":"https://api.github.com/users/cneira/followers","following_url":"https://api.github.com/users/cneira/following{/other_user}","gists_url":"https://api.github.com/users/cneira/gists{/gist_id}","starred_url":"https://api.github.com/users/cneira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cneira/subscriptions","organizations_url":"https://api.github.com/users/cneira/orgs","repos_url":"https://api.github.com/users/cneira/repos","events_url":"https://api.github.com/users/cneira/events{/privacy}","received_events_url":"https://api.github.com/users/cneira/received_events","type":"User","site_admin":false},"created_at":"2017-03-20T20:42:03Z","updated_at":"2017-03-20T20:42:03Z","body":"I just added a fix for this, I have not measured performance yet, I replace the char array with a stl vector to be able to resize it at runtime. \r\n\r\nhttps://github.com/cneira/pistache"}}
{"actor":{"display_login":"cneira"}}