Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-07-14 | minor cleanup | UbitUmarov | 1 | -1/+1 | |
2018-07-05 | test jenkins | UbitUmarov | 1 | -1/+1 | |
2018-07-05 | test | UbitUmarov | 1 | -1/+0 | |
2018-06-18 | mantis 8329: don't fail if response stream is Chunked encoded and http ↵ | UbitUmarov | 1 | -7/+32 | |
debuglevel >=5 | |||||
2017-09-16 | double request.ReadWriteTimeout | UbitUmarov | 1 | -2/+2 | |
2017-06-12 | make some web request errors visible, so cause of later asset not found is clear | UbitUmarov | 1 | -7/+13 | |
2017-05-30 | webrequests serialiazation per endpoint its now ServicePointManager job | UbitUmarov | 1 | -54/+1 | |
2017-01-05 | Massive tab and trailing space cleanup | Melanie Thielker | 1 | -30/+30 | |
2016-11-23 | add to SynchronousRestFormsRequester a keepalive disable option, and make ↵ | UbitUmarov | 1 | -11/+4 | |
use of it on some friends conns | |||||
2016-11-17 | explicitly remove some references, and other useless changes | UbitUmarov | 1 | -6/+2 | |
2015-12-02 | minor: fix a log timing information | UbitUmarov | 1 | -3/+0 | |
2015-11-29 | Trying to make http requests less slow, according to ↵ | Diva Canto | 1 | -0/+2 | |
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow | |||||
2015-09-09 | revert SynchronousRestObjectRequester timeout to miliseconds, and fix where ↵ | UbitUmarov | 1 | -1/+1 | |
it was wrong set in seconds | |||||
2015-09-03 | at last we can login and see objects ( friends is dead and disable in | UbitUmarov | 1 | -10/+8 | |
scenepresence) | |||||
2015-09-02 | seems to compile ( tests comented out) | UbitUmarov | 1 | -123/+23 | |
2014-11-01 | remove last debug msg | UbitUmarov | 1 | -1/+1 | |
2014-11-01 | debug msg | UbitUmarov | 1 | -1/+1 | |
2014-10-15 | fix some errors when using http debug level > 4 | UbitUmarov | 1 | -6/+8 | |
2014-08-17 | make webutilmore verbose on PUT for avatar updates. Reduce LargeTime debug | UbitUmarov | 1 | -2/+17 | |
level to 500ms from 3000ms | |||||
2014-07-21 | Log RestClient requests similarly to WebClient (e.g, "debug http all 6" logs ↵ | Oren Hurvitz | 1 | -1/+1 | |
the entire request and response) | |||||
2014-07-21 | Close streams immediately when we finish using them | Oren Hurvitz | 1 | -3/+4 | |
2014-05-23 | Adds optional HTTP Basic Authentication to Robust service connectors. | Diva Canto | 1 | -4/+71 | |
2014-05-13 | Fix behaviour change in recent commit bbc1dc6 so that ↵ | Justin Clark-Casey (justincc) | 1 | -5/+10 | |
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-12 | Replace existing 0 timeout in internal overloaded ↵ | Justin Clark-Casey (justincc) | 1 | -3/+4 | |
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 | minor: Add method doc to SynchronousRestObjectRequester.MakeRequest() methods | Justin Clark-Casey (justincc) | 1 | -5/+27 | |
2014-05-12 | In SynchronousRestObjectRequester.MakeRequest<TRequest, TResponse>(string ↵ | Justin Clark-Casey (justincc) | 1 | -0/+2 | |
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-04-29 | Improved HTTP logging | Oren Hurvitz | 1 | -3/+2 | |
2014-04-24 | - Created a standard function to send XML-RPC requests, which logs them like ↵ | Oren Hurvitz | 1 | -74/+138 | |
we do for other types of HTTP activity. - Changed OpenProfileClient to use the new XML-RPC sending function - Improved logging in WebUtil | |||||
2014-04-24 | When sending JSON-RPC calls (for UserProfile), use WebUtil instead of ↵ | Oren Hurvitz | 1 | -12/+12 | |
constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6". | |||||
2014-04-02 | Fixed last-resort sending of error response (HTTP 500) when an error occurs ↵ | Oren Hurvitz | 1 | -6/+6 | |
while handling a request. The previous code didn't actually send the response, so the caller was stuck until the timeout (100 seconds). | |||||
2014-03-27 | Fixed a case where logging an HTTP response failed because the stream was ↵ | Oren Hurvitz | 1 | -23/+28 | |
non-seekable | |||||
2014-03-27 | Log errors in MakeRequest() as INFO, not ERROR. Some communications problems ↵ | Oren Hurvitz | 1 | -2/+2 | |
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. Resolves http://opensimulator.org/mantis/view.php?id=7077 | |||||
2014-03-25 | Use the "X-Content-Encoding" header to indicate gzipped data, because old ↵ | Oren Hurvitz | 1 | -1/+1 | |
OpenSims fail if they get an unknown "Content-Encoding" | |||||
2014-03-25 | Use the "Content-Encoding" header to indicate gzipped streams | Oren Hurvitz | 1 | -3/+5 | |
2014-03-25 | Always throw an exception if MakeRequest (used for HTTP POST) fails. ↵ | Oren Hurvitz | 1 | -19/+10 | |
(Previously many exceptions were ignored) Resolves http://opensimulator.org/mantis/view.php?id=6949 | |||||
2014-03-25 | Improved logging of HTTP requests | Oren Hurvitz | 1 | -35/+87 | |
- MemoryBuffer isn't seekable, so we can't log it. Log the string instead. - Handle compressed streams - Don't attempt to dump binary data. Either don't log it at all (if we know it's binary), or at least convert non-ASCII characters to ASCII. - Log responses to HTTP requests - Use the same log prefix for all of these log messages ("[LOGHTTP]"), to make them easy to see at a glance - Increased the snippet length to 200 (80 doesn't show enough), and add "..." only if the message was actually truncated Resolves http://opensimulator.org/mantis/view.php?id=6949 | |||||
2014-02-27 | Set up a StreamReader and call ReadToEnd() instead of using the ↵ | Justin Clark-Casey (justincc) | 1 | -41/+13 | |
GetStreamString() extension method This eliminates some stream seeking that was never necessary and makes disposable of the StreamReader consistent with other code | |||||
2014-02-27 | refactor: More consistently use using construct within WebUtil to match ↵ | Justin Clark-Casey (justincc) | 1 | -225/+218 | |
other existing code there. | |||||
2014-02-27 | Add more details to InvalidOperationException logging in ↵ | Justin Clark-Casey (justincc) | 1 | -3/+4 | |
SychronousRestFormsRequest.MakeRequest(). | |||||
2014-01-31 | Make sure Web streams are disposed after use | Oren Hurvitz | 1 | -3/+3 | |
2013-11-15 | refactor: replace verbose checks with String.IsNullOrEmpty where applicable. | Justin Clark-Casey (justincc) | 1 | -1/+1 | |
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845 | |||||
2013-08-05 | Make it possible to switch whether we serialize osd requests per endpoint or ↵ | Justin Clark-Casey (justincc) | 1 | -4/+16 | |
not, either via config (SerializeOSDRequests in [Network]) or via the "debug comms set" console command. For debug purposes to assess what impact this has on network response in a heavy test environment. | |||||
2013-08-02 | Issue: 10 simultaneous TPs, many not making it. Now bypassing the per-url ↵ | Diva Canto | 1 | -3/+3 | |
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. | |||||
2013-07-04 | Revert "WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT." | Diva Canto | 1 | -4/+0 | |
This reverts commit c95a23863ab51810ccc01afd3dd641c18a183305. | |||||
2013-07-04 | WARNING: BRUTE FORCE DEBUG. AVOID USING THIS COMMIT. | Diva Canto | 1 | -0/+4 | |
2013-06-29 | Changed HG status notifications timeout down to 15secs from the default 100. | Diva Canto | 1 | -1/+9 | |
2013-06-12 | Implement logging of first 80 characters (debug level 5) or full body data ↵ | Justin Clark-Casey (justincc) | 1 | -2/+52 | |
(debug level 6) on outgoing requests, depending on debug level This is set via "debug http out <level>" This matches the existing debug level behaviours for logging incoming http data | |||||
2013-02-27 | Make sure we dispose of WebResponse, StreamReader and Stream in various ↵ | Justin Clark-Casey (justincc) | 1 | -30/+31 | |
places where we were not already. | |||||
2012-11-15 | Revert "Merge master into teravuswork", it should have been avination, not ↵ | teravus | 1 | -65/+16 | |
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64. | |||||
2012-10-05 | make sure a buffer is closed, and changed a misleading log msg | UbitUmarov | 1 | -8/+20 | |