Kenneth Hsu
1f8b542604
Use nameof operator when constructing ArgumentNullException.
...
This will make rename refactorings easier in the future.
2018-03-07 17:53:08 -08:00
Kenneth Skovhede
9cdd5ff1e4
Removed the manual call to set up the ssl certificate validator on each request.
...
This fixes #2746
This fixes #2714
2017-09-20 10:51:13 +02:00
Kenneth Skovhede
4679c5eadd
Bugfix for broken 2.0.2.3 canary build
2017-09-09 12:38:46 +02:00
Kenneth Skovhede
19a040970f
Implemented call-context aware settings for HTTP options, temp folder settings, buffers sizes and oauth settings.
...
This makes it more smooth to run multiple operations in parellel, but it should be possible to launch an operation in a separate app-domain
2017-09-04 11:05:16 +02:00
Kenneth Skovhede
54f57bf674
Fixed setting the contentlength and checking if it is possible to set the AllowWriteStreamBuffering property.
...
This fixes #2483
2017-05-18 23:21:48 +02:00
Kenneth Skovhede
55e230ff49
Reworked the way the AllowWriteBuffering flag is set to fix errors caused by ContentLength not being set.
2017-05-17 10:59:07 +02:00
Kenneth Skovhede
f9e5eeae0c
Experiment to see if out-of-memory issues are solved by disabling the write buffer on HTTP requests.
...
This should help with #2320 and #2432
2017-04-17 21:47:58 +02:00
Kenneth Skovhede
0c68daff6c
Fixed all whitespace to be 4 spaces instead of tabs
2016-09-15 11:39:27 +02:00
Kenneth Skovhede
5f7e63ae78
Fixed the timeout issue
2016-04-16 17:51:44 +02:00
Kenneth Skovhede
f9a186d6e5
Added a workaround to send the response into the webexception on Mono
2015-06-27 01:10:48 +02:00
Kenneth Skovhede
f935af9968
Reworked the ReadWriteTimeout usage to avoid premature timeouts on Mono
2014-07-11 01:07:48 +02:00
kenneth@hexad.dk
c74092f8a9
Fixed some timeout/abort issues by implementing everything by hand, on top of the async methods.
...
Now the WebRequest.Timeout property ONLY affects the GetRequestStream() and GetResponse() methods as the documentation says it SHOULD.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1331 59da171f-624f-0410-aa54-27559c288bec
2012-06-06 12:55:48 +00:00