为 Zend_Service_Amazon_S3 选择不同的网络接口

发布于 2024-11-06 13:56:41 字数 136 浏览 8 评论 0原文

我想知道是否可以为 Zend_Http_Client 设置网络接口(即 eth0:1eth0:2),它用于 <代码>Zend_Service_Amazon_S3。

I wondered if it's possible to set the network interface (i.e. eth0:1 or eth0:2) for the Zend_Http_Client, which is used in Zend_Service_Amazon_S3.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吹梦到西洲 2024-11-13 13:56:41

使用套接字绑定并输入 eth0:2 的 IP

请参阅本页上的示例#2: http://framework.zend.com/manual/en/zend.http.client.adapters.html

Use socket bindto and enter the IP of your eth0:2

See Example #2 on this page: http://framework.zend.com/manual/en/zend.http.client.adapters.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文