Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一个transport相关的小问题 #411

Open
Crescent617 opened this issue Jan 3, 2025 · 2 comments
Open

请教一个transport相关的小问题 #411

Crescent617 opened this issue Jan 3, 2025 · 2 comments

Comments

@Crescent617
Copy link

为什么每次新建client会绑定一个新的transport,而不是像标准库一样如果不手动指定就复用DefaultTransport?

@imroc
Copy link
Owner

imroc commented Jan 3, 2025

避免不同 client 复用相同连接池

@Crescent617
Copy link
Author

复用的后果是什么呢 ?_?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants