wshttpbinding 中没有 WCF 最大响应消息大小设置?

发布于 2024-07-25 08:30:02 字数 183 浏览 3 评论 0原文

我很惊讶地发现 wshttpbinding 中没有 WCF 最大响应消息大小设置? 我的问题是 wshttpbinding 中是否有最大响应消息大小设置? 我正在使用 .Net 3.0 + C# + VSTS 2008。

顺便说一句:我找到了最大请求消息大小设置并测试了它的工作原理。

提前致谢, 乔治

I am surprised to see that no WCF max response message size setting in wshttpbinding? My question is whether there is max response message size setting in wshttpbinding? I am using .Net 3.0 + C# + VSTS 2008.

BTW: I have found max request message size setting and tested it works.

thanks in advance,
George

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

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

发布评论

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

评论(1

花开柳相依 2024-08-01 08:30:02

我认为这意味着您可以发送的消息大小没有限制。

基本上 maxReceivedMessageSize 是为了保护您的服务器免受使用长消息的 DoS 攻击。 不需要限制响应消息的大小,因为它在您的控制之下。

客户端当然可能希望设置 maxReceivedMessageSize 以避免来自恶意服务器的消息过长。

I assume this means there is no restriction on the size of message you can send.

Basically maxReceivedMessageSize is there to protect your server from DoS attacks using long messages. There is not the same need for a limit to the size of the response message, as that's under your control.

A client may of course want to set maxReceivedMessageSize to avoid excessively long message from a rogue server.

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