Oren Hurvitz
|
9a2dc6a0d7
Log RestClient requests similarly to WebClient (e.g, "debug http all 6" logs the entire request and response)
|
10 tahun lalu |
Oren Hurvitz
|
e41e52e097
Close streams immediately when we finish using them
|
10 tahun lalu |
Diva Canto
|
20f20895cf
Adds optional HTTP Basic Authentication to Robust service connectors.
|
10 tahun lalu |
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 tahun lalu |
Justin Clark-Casey (justincc)
|
bbc1dc6bce
Replace existing 0 timeout in internal overloaded SynchronousRestObjectRequester.MakeRequest() methods with proper Timeout.Infinite (-1) instead.
|
10 tahun lalu |
Justin Clark-Casey (justincc)
|
7db4336f1c
minor: Add method doc to SynchronousRestObjectRequester.MakeRequest() methods
|
10 tahun lalu |
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 tahun lalu |
Oren Hurvitz
|
88f7a833dc
Improved HTTP logging
|
10 tahun lalu |
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 tahun lalu |
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 tahun lalu |
Oren Hurvitz
|
bbfda8e19e
Fixed last-resort sending of error response (HTTP 500) when an error occurs while handling a request.
|
10 tahun lalu |
Oren Hurvitz
|
161c827a44
Fixed a case where logging an HTTP response failed because the stream was non-seekable
|
10 tahun lalu |
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 tahun lalu |
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 tahun lalu |
Oren Hurvitz
|
b1d8aa0b64
Use the "Content-Encoding" header to indicate gzipped streams
|
10 tahun lalu |
Oren Hurvitz
|
f90aee696a
Always throw an exception if MakeRequest (used for HTTP POST) fails. (Previously many exceptions were ignored)
|
11 tahun lalu |
Oren Hurvitz
|
f901a38204
Improved logging of HTTP requests
|
11 tahun lalu |
Justin Clark-Casey (justincc)
|
88b1fc1382
Set up a StreamReader and call ReadToEnd() instead of using the GetStreamString() extension method
|
10 tahun lalu |
Justin Clark-Casey (justincc)
|
5fafea6631
refactor: More consistently use using construct within WebUtil to match other existing code there.
|
10 tahun lalu |
Justin Clark-Casey (justincc)
|
1f4f09ad69
Add more details to InvalidOperationException logging in SychronousRestFormsRequest.MakeRequest().
|
10 tahun lalu |
Oren Hurvitz
|
b8e22f02e7
Make sure Web streams are disposed after use
|
11 tahun lalu |
Justin Clark-Casey (justincc)
|
7cab41f422
refactor: replace verbose checks with String.IsNullOrEmpty where applicable.
|
11 tahun lalu |
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 tahun lalu |
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 tahun lalu |
Diva Canto
|
33ddb6c246
Revert "WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT."
|
11 tahun lalu |
Diva Canto
|
c95a23863a
WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT.
|
11 tahun lalu |
Diva Canto
|
00093a305d
Changed HG status notifications timeout down to 15secs from the default 100.
|
11 tahun lalu |
Justin Clark-Casey (justincc)
|
47b6e78790
Implement logging of first 80 characters (debug level 5) or full body data (debug level 6) on outgoing requests, depending on debug level
|
11 tahun lalu |
Justin Clark-Casey (justincc)
|
80c19b7cac
Make sure we dispose of WebResponse, StreamReader and Stream in various places where we were not already.
|
11 tahun lalu |
Melanie
|
503ce70f74
Allow setting connection limits, part 2
|
12 tahun lalu |