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 years ago |
Oren Hurvitz
|
bbfda8e19e
Fixed last-resort sending of error response (HTTP 500) when an error occurs while handling a request.
|
10 years ago |
Oren Hurvitz
|
161c827a44
Fixed a case where logging an HTTP response failed because the stream was non-seekable
|
10 years ago |
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 years ago |
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 years ago |
Oren Hurvitz
|
b1d8aa0b64
Use the "Content-Encoding" header to indicate gzipped streams
|
10 years ago |
Oren Hurvitz
|
f90aee696a
Always throw an exception if MakeRequest (used for HTTP POST) fails. (Previously many exceptions were ignored)
|
11 years ago |
Oren Hurvitz
|
f901a38204
Improved logging of HTTP requests
|
11 years ago |
Justin Clark-Casey (justincc)
|
88b1fc1382
Set up a StreamReader and call ReadToEnd() instead of using the GetStreamString() extension method
|
10 years ago |
Justin Clark-Casey (justincc)
|
5fafea6631
refactor: More consistently use using construct within WebUtil to match other existing code there.
|
10 years ago |
Justin Clark-Casey (justincc)
|
1f4f09ad69
Add more details to InvalidOperationException logging in SychronousRestFormsRequest.MakeRequest().
|
10 years ago |
Oren Hurvitz
|
b8e22f02e7
Make sure Web streams are disposed after use
|
11 years ago |
Melanie
|
3589acdab1
Merge branch 'master' into careminster
|
11 years ago |
Justin Clark-Casey (justincc)
|
7cab41f422
refactor: replace verbose checks with String.IsNullOrEmpty where applicable.
|
11 years ago |
Melanie
|
005c69511d
Merge branch 'master' into careminster
|
11 years ago |
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 years ago |
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 years ago |
Diva Canto
|
33ddb6c246
Revert "WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT."
|
11 years ago |
Diva Canto
|
c95a23863a
WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT.
|
11 years ago |
Melanie
|
ffcee82b1d
Merge branch 'master' into careminster
|
11 years ago |
Diva Canto
|
00093a305d
Changed HG status notifications timeout down to 15secs from the default 100.
|
11 years ago |
Melanie
|
9975c5674c
Merge branch 'master' into careminster
|
11 years ago |
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 years ago |
Melanie
|
578174d21c
Merge branch 'master' into careminster
|
11 years ago |
Justin Clark-Casey (justincc)
|
80c19b7cac
Make sure we dispose of WebResponse, StreamReader and Stream in various places where we were not already.
|
11 years ago |
Melanie
|
72c925a6c9
Merge branch 'avination' into careminster
|
12 years ago |
UbitUmarov
|
db00402fa8
make sure a buffer is closed, and changed a misleading log msg
|
12 years ago |
Melanie
|
503ce70f74
Allow setting connection limits, part 2
|
12 years ago |
Diva Canto
|
91a5c602e3
Revert "Added request.Proxy=null everywhere, as discussed in http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow."
|
12 years ago |
Diva Canto
|
531edd51d8
Added request.Proxy=null everywhere, as discussed in http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow.
|
12 years ago |