Uh oh!
There was an error while loading. Please reload this page.
Add support for HttpWebRequest.ReadWriteTimeout - #47648
Conversation
Uses the recently added support for SocketsHttpHandler.ConnectCallback to be used for synchronous operations to add support for HttpWebRequest.ReadWriteTimeout. That value is now used to set the Read/WriteTimeout on the underlying socket, with it then affecting all synchronous reads and writes on that connection. The ReadWriteTimeout is added to the cache key for whether the cached HttpClient instance can be used, as is whether the request is sync or async because that influences how connections are created from the HttpClient instance.
ghost
commented
Jan 29, 2021
Tagging subscribers to this area: @dotnet/ncl Issue DetailsUses the recently added support for SocketsHttpHandler.ConnectCallback to be used for synchronous operations (#45300) to add support for HttpWebRequest.ReadWriteTimeout. That value is now used to set the Read/WriteTimeout on the underlying socket, with it then affecting all synchronous reads and writes on that connection. The ReadWriteTimeout is added to the cache key for whether the cached HttpClient instance can be used, as is whether the request is sync or async because that influences how connections are created from the HttpClient instance. Fixes #43520 A couple of notes:
|
Uses the recently added support for SocketsHttpHandler.ConnectCallback to be used for synchronous operations (#45300) to add support for HttpWebRequest.ReadWriteTimeout. That value is now used to set the Read/WriteTimeout on the underlying socket, with it then affecting all synchronous reads and writes on that connection. The ReadWriteTimeout is added to the cache key for whether the cached HttpClient instance can be used, as is whether the request is sync or async because that influences how connections are created from the HttpClient instance.
Fixes#43520
A couple of notes: