{"action":"created","issue":{"url":"https://api.github.com/repos/ellzey/libevhtp/issues/171","labels_url":"https://api.github.com/repos/ellzey/libevhtp/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/ellzey/libevhtp/issues/171/comments","events_url":"https://api.github.com/repos/ellzey/libevhtp/issues/171/events","html_url":"https://github.com/ellzey/libevhtp/issues/171","id":89321532,"number":171,"title":"http client: method POST is aborted","user":{"login":"akalend","id":196049,"avatar_url":"https://avatars.githubusercontent.com/u/196049?v=3","gravatar_id":"","url":"https://api.github.com/users/akalend","html_url":"https://github.com/akalend","followers_url":"https://api.github.com/users/akalend/followers","following_url":"https://api.github.com/users/akalend/following{/other_user}","gists_url":"https://api.github.com/users/akalend/gists{/gist_id}","starred_url":"https://api.github.com/users/akalend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akalend/subscriptions","organizations_url":"https://api.github.com/users/akalend/orgs","repos_url":"https://api.github.com/users/akalend/repos","events_url":"https://api.github.com/users/akalend/events{/privacy}","received_events_url":"https://api.github.com/users/akalend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-18T15:23:30Z","updated_at":"2015-07-08T09:36:58Z","closed_at":null,"body":"I using code from test_client.c for HTTP GET method and it is Ok, but if I use HTTP POST, I have hanj. \r\n\r\n    // some part code from /examples/test_client.c\r\n    evhtp_headers_add_header(request->headers_out,\r\n                             evhtp_header_new(\"Host\", \"localhost\", 0, 0));\r\n    evhtp_headers_add_header(request->headers_out,\r\n                             evhtp_header_new(\"User-Agent\", \"libevhtp\", 0, 0));\r\n   \r\n    evhtp_headers_add_header(request->headers_out,\r\n                         evhtp_header_new(\"Content-Length\", \"7\", 0, 0));\r\n    evhtp_headers_add_header(request->headers_out,\r\n                             evhtp_header_new(\"Connection\", \"close\", 0, 0));\r\n\r\n    evbuffer_add_reference(request->buffer_out, \"*****\\r\\n\", 7, NULL, NULL);\r\n\r\n    evhtp_make_request(conn, request, htp_method_POST, \"/foo\");\r\n    \r\n    //evbuffer_drain(request->buffer_out, -1);\r\n\r\n    event_base_loop(evbase, 0);\r\n    event_base_free(evbase);\r\n    return 0;\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ellzey/libevhtp/issues/comments/119522683","html_url":"https://github.com/ellzey/libevhtp/issues/171#issuecomment-119522683","issue_url":"https://api.github.com/repos/ellzey/libevhtp/issues/171","id":119522683,"user":{"login":"ellzey","id":125894,"avatar_url":"https://avatars.githubusercontent.com/u/125894?v=3","gravatar_id":"","url":"https://api.github.com/users/ellzey","html_url":"https://github.com/ellzey","followers_url":"https://api.github.com/users/ellzey/followers","following_url":"https://api.github.com/users/ellzey/following{/other_user}","gists_url":"https://api.github.com/users/ellzey/gists{/gist_id}","starred_url":"https://api.github.com/users/ellzey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellzey/subscriptions","organizations_url":"https://api.github.com/users/ellzey/orgs","repos_url":"https://api.github.com/users/ellzey/repos","events_url":"https://api.github.com/users/ellzey/events{/privacy}","received_events_url":"https://api.github.com/users/ellzey/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T09:36:58Z","updated_at":"2015-07-08T09:36:58Z","body":"ping. closing in 48 hours if no response."}}