Commit Graph

155 Commits

Author SHA1 Message Date
UbitUmarov
73ca50bbbc change default httpclients MaxResponseContentBufferSize 2023-05-18 17:47:39 +01:00
UbitUmarov
f3663371dc more on HttpWebRequest 2023-05-17 21:17:36 +01:00
UbitUmarov
beeb5b54be replace HttpWebRequest by HttpClient on other places 2023-05-17 19:15:46 +01:00
UbitUmarov
29049c14b2 replace HttpWebRequest by HttpClient on another place, used bt assets, etc 2023-05-17 01:10:02 +01:00
UbitUmarov
19229aff64 replace HttpWebRequest by HttpClient on another place 2023-05-16 22:57:23 +01:00
UbitUmarov
523f7cc1dc more code stype changes 2022-10-19 02:23:15 +01:00
UbitUmarov
31fa8b45df minor cleanup 2022-09-20 21:32:10 +01:00
UbitUmarov
d0d71317e0 fix a http SRestObjReq log message, thx Tampa (also a libomv update) 2022-04-14 22:28:57 +01:00
UbitUmarov
3d705fefa2 use osutf8 on some http headers parse 2022-03-16 15:56:00 +00:00
UbitUmarov
a23bf4eb1b mantis 8890: waste CPU checking if asset id == Zero on get; several changes on region Asset connector 2021-05-29 15:08:22 +01:00
UbitUmarov
e4a922012a change region asset connectors again. The new ini files must be used (should update automaticly). All region modes back, but testing needed, as usual. Left out automatic grid store retry, that needs better consideration (like on payed uploads). runprebuild, clearaot etc needed 2020-10-28 09:16:36 +00:00
UbitUmarov
e86bd042bb dont let webrequests keep copies of all put/post. should not, but may impact some connections like redirection 2020-10-28 00:09:32 +00:00
UbitUmarov
323c0673c2 fix permissions checks on some crossings 2020-09-01 16:30:07 +01:00
UbitUmarov
97870cc1b9 a few changes on HGinventoryBroker p+lus cosmetics 2020-08-30 15:58:34 +01:00
UbitUmarov
00114d2e77 add a global expiring bad urls 2020-08-27 13:59:07 +01:00
UbitUmarov
1661ee697d fix a typo 2020-08-21 23:21:58 +01:00
UbitUmarov
612632f945 cosmetics 2020-08-19 18:07:40 +01:00
UbitUmarov
f32c0ead05 avoid c# fun things, plus cosmetics 2020-07-14 17:54:58 +01:00
UbitUmarov
34fa6abc00 do not trust ms documentation about inner stream dispose 2020-06-29 01:03:00 +01:00
UbitUmarov
fa0044fb6c webutil remove some not that usefull timing logs, plust some cosmetics 2020-06-09 13:39:30 +01:00
UbitUmarov
4c7107dfda cosmetics 2020-05-13 14:51:05 +01:00
UbitUmarov
beee52032e current vivox server certs are invalid 2020-03-10 13:42:09 +00:00
UbitUmarov
33a062612f remove terraindata abstraction layer, since we only have heightmap type 2019-01-21 06:05:21 +00:00
UbitUmarov
0daa4eff8a minor cleanup 2018-07-14 17:07:30 +01:00
UbitUmarov
5e1bf88875 test jenkins 2018-07-05 20:27:52 +01:00
UbitUmarov
91247e0631 test 2018-07-05 02:29:56 +01:00
UbitUmarov
9b87626cdb mantis 8329: don't fail if response stream is Chunked encoded and http debuglevel >=5 2018-06-18 01:04:26 +01:00
UbitUmarov
997a85568e double request.ReadWriteTimeout 2017-09-16 00:46:26 +01:00
UbitUmarov
70be8ba6de make some web request errors visible, so cause of later asset not found is clear 2017-06-12 13:29:14 +01:00
UbitUmarov
e5bebe3a32 webrequests serialiazation per endpoint its now ServicePointManager job 2017-05-30 08:20:58 +01:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
UbitUmarov
b3eda582ec add to SynchronousRestFormsRequester a keepalive disable option, and make use of it on some friends conns 2016-11-23 19:30:55 +00:00
UbitUmarov
35b37510fc explicitly remove some references, and other useless changes 2016-11-17 19:15:28 +00:00
UbitUmarov
52a5688b6e minor: fix a log timing information 2015-12-02 02:43:52 +00:00
Diva Canto
1aa0234408 Trying to make http requests less slow, according to http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow 2015-11-29 09:48:17 -08:00
UbitUmarov
b93412972e revert SynchronousRestObjectRequester timeout to miliseconds, and fix where it was wrong set in seconds 2015-09-09 23:17:18 +01:00
UbitUmarov
cdaed11387 at last we can login and see objects ( friends is dead and disable in
scenepresence)
2015-09-03 18:39:08 +01:00
UbitUmarov
a11edceb00 seems to compile ( tests comented out) 2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af bad merge? 2015-09-01 14:54:35 +01:00
UbitUmarov
377a8072dc remove last debug msg 2014-11-01 16:04:22 +00:00
UbitUmarov
f2ea426453 debug msg 2014-11-01 15:52:05 +00:00
UbitUmarov
c643ff4cba fix some errors when using http debug level > 4 2014-10-15 14:14:25 +01:00
UbitUmarov
ff518e7cbb make webutilmore verbose on PUT for avatar updates. Reduce LargeTime debug
level to 500ms from 3000ms
2014-08-17 02:12:45 +01:00
Oren Hurvitz
6b57b61836 Log RestClient requests similarly to WebClient (e.g, "debug http all 6" logs the entire request and response) 2014-07-21 09:24:45 +01:00
Oren Hurvitz
99ac770abb Close streams immediately when we finish using them 2014-07-21 08:30:03 +01:00
Diva Canto
20f20895cf Adds optional HTTP Basic Authentication to Robust service connectors. 2014-05-23 16:19:43 -07:00
Justin Clark-Casey (justincc)
4569c595bf Fix behaviour change in recent commit bbc1dc6 so that SynchronousRestObjectRequester.MakeRequest() calls with no timeout specified use the default HttpWebRequest timeout as previously.
I mistakenly thought that that default request timeout was inifite rather than 100 seconds, restoring previously behaviour.
As per http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.timeout%28v=vs.100%29.aspx
Relates to http://opensimulator.org/mantis/view.php?id=7165
2014-05-13 22:21:20 +01:00
Justin Clark-Casey (justincc)
bbc1dc6bce Replace existing 0 timeout in internal overloaded SynchronousRestObjectRequester.MakeRequest() methods with proper Timeout.Infinite (-1) instead.
Triggered by recent faf9ba53 though this was wrong in the code before, it's just that we didn't actually try to set the timeout given.
2014-05-12 22:37:07 +01:00
Justin Clark-Casey (justincc)
7db4336f1c minor: Add method doc to SynchronousRestObjectRequester.MakeRequest() methods 2014-05-12 22:05:02 +01:00
Justin Clark-Casey (justincc)
faf9ba53fc In SynchronousRestObjectRequester.MakeRequest<TRequest, TResponse>(string verb, string requestUrl, TRequest obj, int pTimeout, int maxConnections) actually set timeout on WebRequest if given.
Previously, we were doing nothing with this parameter.
No effect on current code since none of the 6 callers attempt to use the timeout.
2014-05-12 19:20:00 +01:00