UbitUmarov
|
f2ea426453
debug msg
|
10 gadi atpakaļ |
UbitUmarov
|
c643ff4cba
fix some errors when using http debug level > 4
|
10 gadi atpakaļ |
UbitUmarov
|
ff518e7cbb
make webutilmore verbose on PUT for avatar updates. Reduce LargeTime debug
|
10 gadi atpakaļ |
Oren Hurvitz
|
6b57b61836
Log RestClient requests similarly to WebClient (e.g, "debug http all 6" logs the entire request and response)
|
10 gadi atpakaļ |
Oren Hurvitz
|
99ac770abb
Close streams immediately when we finish using them
|
10 gadi atpakaļ |
Diva Canto
|
20f20895cf
Adds optional HTTP Basic Authentication to Robust service connectors.
|
10 gadi atpakaļ |
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.
|
10 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
bbc1dc6bce
Replace existing 0 timeout in internal overloaded SynchronousRestObjectRequester.MakeRequest() methods with proper Timeout.Infinite (-1) instead.
|
10 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
7db4336f1c
minor: Add method doc to SynchronousRestObjectRequester.MakeRequest() methods
|
10 gadi atpakaļ |
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.
|
10 gadi atpakaļ |
Oren Hurvitz
|
88f7a833dc
Improved HTTP logging
|
10 gadi atpakaļ |
Oren Hurvitz
|
bc06db3df4
- Created a standard function to send XML-RPC requests, which logs them like we do for other types of HTTP activity.
|
10 gadi atpakaļ |
Oren Hurvitz
|
d15a3b10a3
When sending JSON-RPC calls (for UserProfile), use WebUtil instead of constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6".
|
10 gadi atpakaļ |
Oren Hurvitz
|
bbfda8e19e
Fixed last-resort sending of error response (HTTP 500) when an error occurs while handling a request.
|
10 gadi atpakaļ |
Oren Hurvitz
|
161c827a44
Fixed a case where logging an HTTP response failed because the stream was non-seekable
|
10 gadi atpakaļ |
Oren Hurvitz
|
76add0fdb0
Log errors in MakeRequest() as INFO, not ERROR. Some communications problems are benign (e.g., can't send Friend status update to a region that is down), so don't log them as ERROR so soon. We rethrow the exception, so the caller can still decide to log the error as an ERROR.
|
10 gadi atpakaļ |
Oren Hurvitz
|
6d1d58b654
Use the "X-Content-Encoding" header to indicate gzipped data, because old OpenSims fail if they get an unknown "Content-Encoding"
|
10 gadi atpakaļ |
Oren Hurvitz
|
b1d8aa0b64
Use the "Content-Encoding" header to indicate gzipped streams
|
10 gadi atpakaļ |
Oren Hurvitz
|
f90aee696a
Always throw an exception if MakeRequest (used for HTTP POST) fails. (Previously many exceptions were ignored)
|
11 gadi atpakaļ |
Oren Hurvitz
|
f901a38204
Improved logging of HTTP requests
|
11 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
88b1fc1382
Set up a StreamReader and call ReadToEnd() instead of using the GetStreamString() extension method
|
10 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
5fafea6631
refactor: More consistently use using construct within WebUtil to match other existing code there.
|
10 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
1f4f09ad69
Add more details to InvalidOperationException logging in SychronousRestFormsRequest.MakeRequest().
|
10 gadi atpakaļ |
Oren Hurvitz
|
b8e22f02e7
Make sure Web streams are disposed after use
|
11 gadi atpakaļ |
Melanie
|
3589acdab1
Merge branch 'master' into careminster
|
11 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
7cab41f422
refactor: replace verbose checks with String.IsNullOrEmpty where applicable.
|
11 gadi atpakaļ |
Melanie
|
005c69511d
Merge branch 'master' into careminster
|
11 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
9bcf072795
Make it possible to switch whether we serialize osd requests per endpoint or not, either via config (SerializeOSDRequests in [Network]) or via the "debug comms set" console command.
|
11 gadi atpakaļ |
Diva Canto
|
5198df3aa0
Issue: 10 simultaneous TPs, many not making it. Now bypassing the per-url lock -- we should be "ok" (or, more "ok") now that we have increased the connection limit on the http library. But this is a sensitive part of the code, so it may need reverting.
|
11 gadi atpakaļ |
Diva Canto
|
33ddb6c246
Revert "WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT."
|
11 gadi atpakaļ |