weweaq opened a new issue, #4854:
URL: https://github.com/apache/servicecomb-java-chassis/issues/4854

   ### Steps to Reproduce
   
   Java-Chassis3.2.1 版本引入修改,创建HttpClient时原本使用 
`xxx.createHttpClient(httpClientOptions)`,  修改为使用 `xxx.with(httpClientOptions)`
   
   
![Image](https://github.com/user-attachments/assets/b7137f86-25bd-49d2-bd8c-d1747ed3b165)
   
   而`xxx.with(httpClientOptions)`只设置了`HttpClientOptions`
   
   
![Image](https://github.com/user-attachments/assets/926b91a9-4c03-4376-af89-6e4a95539b9c)
   
   原本`xxx.createHttpClient(httpClientOptions)` 预期为同时修改`HttpClientOptions` 与 
`PoolOptions`
   
   
![Image](https://github.com/user-attachments/assets/b1cd8d9f-6a4d-472c-9a48-063b4e6ce6d9)
   
   导致在后续buildHttpClient时,`this.poolOptions`一直都为null,所以都是使用的默认`PoolOptions`
   
   
![Image](https://github.com/user-attachments/assets/a1a8f956-9af7-470f-ae43-2e8a1d7f1ed3)
   
   
![Image](https://github.com/user-attachments/assets/2b3f7a03-f3d7-4dc5-93ac-6ead1b70684c)
   
   
   
   ### Expected Behavior
   
   预期只需要修改把`poolOptions`设置进去即可
   
   
![Image](https://github.com/user-attachments/assets/82c6dffd-e2f1-4976-8dcd-0a8163406db8)
   
   ### Servicecomb Version
   
   _No response_
   
   ### Additional Context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to