Ver código fonte

修复http请求连接释放问题

master
Binary Wang 7 anos atrás
pai
commit
2ac2568df4
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/http/apache/ApacheMediaImgUploadRequestExecutor.java

+ 2
- 0
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/http/apache/ApacheMediaImgUploadRequestExecutor.java Ver arquivo

@@ -55,6 +55,8 @@ public class ApacheMediaImgUploadRequestExecutor extends MediaImgUploadRequestEx
}

return WxMediaImgUploadResult.fromJson(responseContent);
} finally {
httpPost.releaseConnection();
}
}
}

Carregando…
Cancelar
Salvar