0
我们有一台服务器(IIS 6.0)有2个网站托管错误的请求内容长度没有达到WCF
一个是代理等是一个WCF REST的API
现在的问题是,当代理网站在内容长度超过8000的情况下命中API,例如对于前9747或8398,它在代理中发出400次错误的请求,并且在API中发生它发生的事情。
WCF调度呼叫之前不叫
WCF调度BeforeSendReply被调用,内容长度为0那里。
我们在结合
<webHttpBinding >
<binding name="binding1" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" maxBufferSize="73400320"
maxBufferPoolSize="73400320"
maxReceivedMessageSize="73400320"
transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="73400320" maxStringContentLength="73400320"
maxArrayLength="73400320" maxBytesPerRead="73400320" maxNameTableCharCount="73400320" />
<security mode="None">
<transport clientCredentialType="None"/>
</security>
</binding>
</webHttpBinding>
可以做些什么,我想它的内容长度问题