{"action":"created","issue":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/1375","repository_url":"https://api.github.com/repos/swoole/swoole-src","labels_url":"https://api.github.com/repos/swoole/swoole-src/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/swoole/swoole-src/issues/1375/comments","events_url":"https://api.github.com/repos/swoole/swoole-src/issues/1375/events","html_url":"https://github.com/swoole/swoole-src/issues/1375","id":268394554,"number":1375,"title":"http_client 1.9.17 以上 出现statusCode -3 使用1.9.14 没问题","user":{"login":"qysf12345","id":19568341,"avatar_url":"https://avatars2.githubusercontent.com/u/19568341?v=4","gravatar_id":"","url":"https://api.github.com/users/qysf12345","html_url":"https://github.com/qysf12345","followers_url":"https://api.github.com/users/qysf12345/followers","following_url":"https://api.github.com/users/qysf12345/following{/other_user}","gists_url":"https://api.github.com/users/qysf12345/gists{/gist_id}","starred_url":"https://api.github.com/users/qysf12345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qysf12345/subscriptions","organizations_url":"https://api.github.com/users/qysf12345/orgs","repos_url":"https://api.github.com/users/qysf12345/repos","events_url":"https://api.github.com/users/qysf12345/events{/privacy}","received_events_url":"https://api.github.com/users/qysf12345/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-25T13:19:35Z","updated_at":"2017-10-26T02:34:17Z","closed_at":"2017-10-26T02:34:17Z","author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n在提交Issue前请回答以下问题：\r\n\r\n1. What did you do? If possible, provide a recipe for reproducing the error.\r\n请详细描述问题的产生过程，贴出相关的代码，最好能提供可稳定重现的最小实例。\r\n\r\n<?php\r\n$cli = new Swoole\\Http\\Client('120.132.61.243', 7070);\r\n$cli->post('/third/getUserInfo', '{}', function ($cli) {\r\n    var_dump($cli->body,$cli->statusCode);\r\n});\r\n\r\n\r\n2. What did you expect to see?\r\n期望的结果是什么？\r\n\r\n{\r\n    \"msg\": \"对不起,错误的请求数据.\",\r\n    \"result\": 2\r\n}\r\n\r\n3. What did you see instead?\r\n实际运行的结果是什么？\r\n\r\nstring(0) \"\"\r\nint(-3)\r\n\r\n4. What version of Swoole are you using (`php --ri swoole`)?\r\n你所使用的Swoole版本号是什么（使用php --ri swoole可以获取）？\r\n\r\n1.9.18\r\n\r\n5. What is your machine environment used (including version of kernel & php & gcc) ? \r\n你使用的机器系统环境是什么（包括内核、PHP、gcc编译器版本信息）？\r\n\r\ncentos 6.5  php5.6.31  gcc version 4.4.7\r\n\r\n6. If you are using ssl, what is your openssl version?\r\n如果你使用了SSL，你的openssl版本是什么？\r\n\r\n未使用\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/comments/339532365","html_url":"https://github.com/swoole/swoole-src/issues/1375#issuecomment-339532365","issue_url":"https://api.github.com/repos/swoole/swoole-src/issues/1375","id":339532365,"user":{"login":"matyhtf","id":2017766,"avatar_url":"https://avatars3.githubusercontent.com/u/2017766?v=4","gravatar_id":"","url":"https://api.github.com/users/matyhtf","html_url":"https://github.com/matyhtf","followers_url":"https://api.github.com/users/matyhtf/followers","following_url":"https://api.github.com/users/matyhtf/following{/other_user}","gists_url":"https://api.github.com/users/matyhtf/gists{/gist_id}","starred_url":"https://api.github.com/users/matyhtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyhtf/subscriptions","organizations_url":"https://api.github.com/users/matyhtf/orgs","repos_url":"https://api.github.com/users/matyhtf/repos","events_url":"https://api.github.com/users/matyhtf/events{/privacy}","received_events_url":"https://api.github.com/users/matyhtf/received_events","type":"User","site_admin":false},"created_at":"2017-10-26T02:34:17Z","updated_at":"2017-10-26T02:34:17Z","author_association":"OWNER","body":"已修复。因为Http响应中没有`Content-Length`导致"}}
{"actor":{"display_login":"matyhtf"}}