{"action":"opened","issue":{"url":"https://api.github.com/repos/MrZhousf/OkHttp3/issues/33","repository_url":"https://api.github.com/repos/MrZhousf/OkHttp3","labels_url":"https://api.github.com/repos/MrZhousf/OkHttp3/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/MrZhousf/OkHttp3/issues/33/comments","events_url":"https://api.github.com/repos/MrZhousf/OkHttp3/issues/33/events","html_url":"https://github.com/MrZhousf/OkHttp3/issues/33","id":307512751,"number":33,"title":"一个页面多次请求有时候请求失败Response: [length=2; index=4]","user":{"login":"Htryhard","id":22737137,"avatar_url":"https://avatars1.githubusercontent.com/u/22737137?v=4","gravatar_id":"","url":"https://api.github.com/users/Htryhard","html_url":"https://github.com/Htryhard","followers_url":"https://api.github.com/users/Htryhard/followers","following_url":"https://api.github.com/users/Htryhard/following{/other_user}","gists_url":"https://api.github.com/users/Htryhard/gists{/gist_id}","starred_url":"https://api.github.com/users/Htryhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Htryhard/subscriptions","organizations_url":"https://api.github.com/users/Htryhard/orgs","repos_url":"https://api.github.com/users/Htryhard/repos","events_url":"https://api.github.com/users/Htryhard/events{/privacy}","received_events_url":"https://api.github.com/users/Htryhard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-22T05:38:19Z","updated_at":"2018-03-22T05:38:19Z","closed_at":null,"author_association":"NONE","body":"参数URL都正常，一个页面同时多个异步请求，偶尔会出现Response: [length=2; index=4]\r\n`\r\n        OkHttpUtil.getDefault(mContext).doAsync(\r\n                HttpInfo.Builder()\r\n                        .setUrl(Global.Domain + url)\r\n                        .setRequestType(RequestType.POST)//设置请求方式\r\n                        .addParam(\"NonceStr\", param.getNonceStr())//添加接口参数\r\n                        .addParam(\"Sign\", param.getSign())\r\n                        .addParam(\"SignType\", param.getSignType())\r\n                        .addParam(\"Data\", param.getData())\r\n                        .build(),\r\n                new Callback() {\r\n                    @Override\r\n                    public void onFailure(HttpInfo info) throws IOException {\r\n                        if (SuccinctProgress.isShowing()) {\r\n                            SuccinctProgress.dismiss();\r\n                        }\r\n                        httpResponseListener.httpOnFailure(info);\r\n                    }\r\n\r\n                    @Override\r\n                    public void onSuccess(HttpInfo info) throws IOException {\r\n                        if (SuccinctProgress.isShowing()) {\r\n                            SuccinctProgress.dismiss();\r\n                        }\r\n                        httpResponseListener.httpOnSuccess(info);\r\n                    }\r\n                });`"}}
{"actor":{"display_login":"Htryhard"}}