腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(856)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
ICerfiticatePolicy和
ServicePoint
成员方法之一,实际上是您必须实现的唯一方法是: System.Net.ICertificatePolicy.CheckValidationResult(System.Net.
ServicePoint
,所以我不知道
ServicePoint
是什么,也不知道要传递什么。我以为它是我的web服务引用和一个代理类,比如PayPalAPIAAInterfaceClient。我仍然在试图弄清楚这一切,而且我真的被困在了
ServicePoint
和WebRequest上,因为实际上我在PayPal中使用了一个代理类,它可以完成请求的幕后发送。
浏览 3
修改于2010-01-21
得票数 0
1
回答
.NET 4.5 HttpClient请求
ServicePoint
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(targetUri); .................有什么想法可以使用HttpClient访问
ServicePoint
吗?
浏览 3
提问于2013-10-04
得票数 5
2
回答
CurrentConnections在
ServicePoint
中超过ConnectionLimit
问题: ..。SendAsync _uri=
servicePoint
.Address=
servicePoint
.ConnectionLimit=1
servicePoint
.CurrentConnections=)}={
servicePoint
.Address
浏览 9
提问于2017-09-14
得票数 1
1
回答
HttpWebRequest.KeepAlive vs
ServicePoint
.SetTcpKeepAlive
request.KeepAlive = true;在上面的示例中,我将两者都设置为True
浏览 1
提问于2014-05-20
得票数 1
2
回答
.NET
ServicePoint
对象生命周期
但是,我发现在为
ServicePoint
使用HTTP之后,
ServicePoint
.ConnectionLeaseTimeout已经从我的设置值更改为默认的-1。我肯定不会在代码中的任何地方将
ServicePoint
.ConnectionLeaseTimeout设置为-1,而我所配置的其他服务点(未用于任何连接)仍处于配置值。因此,我必须假定我最初配置的
ServicePoint
已被释放并替换为一个新的
ServicePoint
对象,其中
ServicePoint
.ConnectionLeas
浏览 2
提问于2018-12-06
得票数 0
回答已采纳
1
回答
(.NET)
ServicePoint
.IPEndPointDelegate不使用代理回调?
myProxy) HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); } public static IPEndPoint BindIPEndPointCallback(
ServicePoint
servicePoint
, IPEndPoi
浏览 0
修改于2010-03-05
得票数 1
回答已采纳
1
回答
禁用在HttpWebRequests之间重用
ServicePoint
为此,我使用HttpWebRequest类并覆盖req.
ServicePoint
.BindIPEndPointDelegate theRequest.
ServicePoint
.BindIPEndPointDelegate
浏览 27
提问于2020-07-23
得票数 0
1
回答
对于本地IPEndpoint,
ServicePoint
不是唯一的
这可以非常简单地完成,只需执行以下操作:myWebRequest.
ServicePoint
.BindIPEndPointDelegate但是,在第二个请求中,因为这个Url已经有一个
ServicePoint
,所以委托函数MyBindIPEndPointFunction没有被调用,所以我没有办法告诉第二个web请求绑定到不同的IPEndpoint理想情况下,我希望强制HttpWebRequest只创建一个普通连接,并在完
浏览 0
提问于2011-02-05
得票数 2
1
回答
HttpClient等价于HttpWebRequest的
ServicePoint
.MaxIdleTime性质
这是相当直截了当的,只不过现有的HttpWebRequest代码中有为请求的
ServicePoint
.MaxIdleTime赋值的代码。对于一个HttpClient来说,这相当于什么。as HttpWebRequest; webReq.ContentType = "text/xml; charset=utf-8"; webReq.
ServicePoint
.MaxIdleTime
浏览 1
修改于2016-09-26
得票数 0
1
回答
ServicePoint
安全检查,防止在新的HttpWebRequests上阻塞
我已经确定这种阻塞是由于特定主机的
ServicePoint
上的
ServicePoint
造成的,该主机的默认值为2。换句话说,该库打开了2个请求,然后尝试打开第三个请求,该请求阻塞了。但是,我知道它访问的网址,因此我可以访问它的
ServicePoint
。
浏览 15
修改于2014-05-23
得票数 1
回答已采纳
2
回答
硬代码IPEndpoint在ASP.Net中使用
ServicePoint
.BindIPEndPointDelegate提供异常
我正试图为我的webRequest绑定我的出站IPreqhttp.
ServicePoint
.BindIPEndPointDelegatedataStream.Write(send, 0, send.Length); public delegate IPEndPoint BindIPEndPoint(
ServicePoint
servicePoint
, IPEndPoint remoteEndPoint, i
浏览 5
修改于2013-09-04
得票数 0
2
回答
C#每个HttpClient实例都有自己的
ServicePoint
吗?
由于我的所有请求都指向相同的uri,所以只应该创建一个
ServicePoint
对象,因此将我限制在两个最大并发请求(假设管道关闭)。我最好的猜测是,由于我要为每个请求创建一个新的HttpClient,所以ServicePointManager在每个请求中创建一个
ServicePoint
对象,但根据我所读到的内容,我认为ServicePointManager应该只在每个唯一的模式和域中创建不同的
ServicePoint
实例,所以我不确定。
浏览 5
提问于2016-10-20
得票数 1
回答已采纳
1
回答
IIS
ServicePoint
ConnectionLimit始终设置为Int32.MaxValue
我在IIS上运行了一个本地web应用程序,它与部署在AWS上的服务相联系。<system.net> <add address="*" maxconnection="48" /></system.net>@(S
浏览 4
修改于2014-04-10
得票数 0
回答已采纳
1
回答
适用于Windows应用商店应用的
ServicePoint
.Expect100Continue
正如标题所说,我需要为我的应用程序将此标志设置为false,如下所示:然而,无论是
ServicePoint
还是ServicePointManager
浏览 0
修改于2012-10-09
得票数 2
回答已采纳
1
回答
在并行发送HTTP请求几个小时后
ServicePoint
对象的大尺寸
运行大约四个小时后,我们发现内存泄漏问题发生了,从分析工具来看,似乎有两个
ServicePoint
对象,其中一个相当大,大约160 MB。我们没有修改DefaultConnectionLimit of
ServicePoint
,因此默认情况下,它只能同时向同一台服务器发送两个请求。
浏览 6
提问于2015-03-17
得票数 4
回答已采纳
1
回答
TCP连接是如何在httpwebrequest中创建的,以及它与
servicepoint
的关系如何?
我试图找出在使用HttpWebRequest时何时建立了TCP连接,以及这些连接是如何使用
ServicePoint
池和重用的。如何使用
ServicePoint
保持这些连接的存活、池化和重用?
浏览 0
提问于2014-04-02
得票数 2
回答已采纳
2
回答
我可以在应用程序配置文件中为
ServicePoint
设置ConnectionLeaseTimeout吗?
我可以在应用程序配置文件中为
ServicePoint
设置ConnectionLeaseTimeout吗?
浏览 4
提问于2018-06-08
得票数 1
1
回答
如何解决在MVC中发送电子邮件时出现的“smtp.
ServicePoint
.Address抛出System.NotSupportedException类型的异常”?
错误描述如下: var smtp = new SmtpClient
浏览 0
修改于2019-07-12
得票数 1
1
回答
当客户端连接到'localhost‘上的服务时,为什么System.Net.
ServicePoint
.ConnectionLimit使用'7FFFFFFF’(Int32.MaxValue/2147483647
为什么System.Net.
ServicePoint
.ConnectionLimit在客户端连接到'localhost'上的服务时使用‘7FFFFFF’(Int32.MaxValue/2147483647最初,我认为如果没有设置ServicePointManager.DefaultConnectionLimit,就会是
servicepoint
.connectionlimit。
浏览 11
修改于2017-05-23
得票数 7
1
回答
使用正在由对象填充的<select>验证parsley.js时遇到麻烦
": [ "
ServicePoint
": "
ServicePoint
1" {"
ServicePoint
": "
ServicePoint
2" { "
ServicePoint
": "
Se
浏览 1
修改于2017-02-07
得票数 0
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券