Explorar el Código

修复http请求连接释放问题

master
Binary Wang hace 7 años
padre
commit
2ac2568df4
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 fichero

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

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

Cargando…
Cancelar
Guardar