aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-03 at last we can login and see objects ( friends is dead and disable inUbitUmarov1-50/+6
scenepresence)
2015-09-02seems to compile ( tests comented out)UbitUmarov4-175/+31
2015-08-18change pollService stop() to send 503 error and no keepalive. ( untested )UbitUmarov2-6/+32
2015-08-18do keepalive on mesh and texture GET. Dont use reusecontext any where.UbitUmarov1-1/+1
setting of keepalive is wrong, it should follow the requested one ( or always as http1.1) only deny if needed (errors). KeepAlive may increase stress on number of avaiable file descritors.
2015-08-18try to serialize http requests from same connection, so they are processedUbitUmarov2-0/+84
in order. ( next commits will be about necessary keepAlive changes needed)
2015-05-12Disable the "show threadpool calls active" console command for now.Justin Clark-Casey (justincc)1-5/+5
Whilst this can be very useful to identify threads held too long by incoming packet processing, it can also be very misleading as the count updates are not atomic (race conditions lead to growth in numbers over time). This could be solved by making the counts volatile but I don't currently have time to assess the performance impact, though it's almost certainly negligible. If anybody else wants to do that and re-enable this command then please feel free.
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto1-1/+1
AssemblyVersion("0.8.2.*")
2015-03-04Make private services forbid llHTTPRequest() calls by rejecting those that ↵Justin Clark-Casey (justincc)1-5/+10
have the X-SecondLife-Shard header. If you need to enable this, set AllowHttpRequestIn = true in [Network] for all private services or individual [*Service] sections.
2015-03-03XML should not contain any BOM. Disabled BOM generation in BaseHttpServerFreaky Tech1-1/+2
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-01-19Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the ↵Justin Clark-Casey (justincc)1-2/+2
exception on error
2014-12-30This cleans up versioning. Specifically:Diva Canto1-76/+0
- It establishes 4 digits for opensim versions - It uses the same number between opensim releases and mono addins versions It also eliminates the last addin.xml files that were still there, for consistency.
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)1-2/+2
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25Add "show threadpool calls active" console debug command.Justin Clark-Casey (justincc)1-5/+40
This shows named threadpool calls (excluding timer and network calls) that are currently queued or running. Also shows total of labelled and any anonymous calls.
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)1-0/+8
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25Add "show threadpool calls" command to show count of all labelled ↵Justin Clark-Casey (justincc)1-0/+21
smartthreadpool calls
2014-10-24 TEST**** wingridproxy detection at grid login. Untested possible notUbitUmarov1-0/+15
very reliable. Adds some load even on region servers because of code at BaseHttpServer.
2014-10-13 change/fix previus commitsUbitUmarov1-2/+10
2014-10-13 tune poll smartThreadpool use and give it a nameUbitUmarov1-2/+5
2014-09-17Undo "Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall2-3/+3
threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects."" Fix for break in next commit This reverts commit 376fab140227e92dbd841436509a97b87c9e7792.
2014-09-17Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall2-3/+3
threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects." This reverts commit af286d5fcb688e8b64202b6deca4f249e9a2b6b8. Issue with Jenkins builds
2014-09-17Small changes to threading to send thread names to unmanaged threads. Needs ↵BlueWall2-3/+3
Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects.
2014-08-09Comment out stupid XEngine-bound message about script vs non-script startup, ↵Melanie Thielker1-6/+6
it's annoyed me for a long time. Comment out periodic stats as well, they've never been useful to us and just cause console spew.
2014-07-26Temporary stop CAPS service points from being added to stats as this can be ↵Justin Clark-Casey (justincc)1-12/+17
a huge number. A stop gap solution - a better one may be to improve stats display on simulator-side. Caps information is still accessible via the "show caps stats by user" and "show caps stats by cap" commands
2014-07-25Add stats for service endpoints using existing data.Justin Clark-Casey (justincc)1-0/+14
For each service endpoint (e.g. posts to the xinventory service), a stat is available which shows the number of requests received and moving average per second The full name is "service.<http-method>:<path>.requests (e.g. service.POST:/xinventory.requests)
2014-07-24 change previus code, send a NoEvents response back to http server, evenUbitUmarov1-3/+0
if we know there is no one there, so that the server finishes handling it.
2014-07-23 request.DoHTTPGruntWork(..) is now identical to our version, so useUbitUmarov1-40/+5
those again, getting code closer to os again
2014-07-21Close streams immediately when we finish using themOren Hurvitz4-93/+119
2014-07-02Actually call Close() for shared region modules when the simulator is being ↵Justin Clark-Casey (justincc)1-1/+7
shutdown. Adds regression test for this case.
2014-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)1-1/+1
2014-06-17Update dev version to 0.8.1Justin Clark-Casey (justincc)1-1/+1
2014-06-13Add [Startup]LogShowStatsSeconds=n parameter which controls the intervalRobert Adams1-2/+12
that simulator statistics is output to the console. Setting to zero turns stats logging off.
2014-06-10Add rc3 flavour optionJustin Clark-Casey (justincc)1-0/+1
2014-05-23Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto1-1/+18
2014-05-19Better error-handling and logging in case User Profile requests failOren Hurvitz1-12/+12
2014-04-29Improved HTTP loggingOren Hurvitz1-1/+1
2014-04-24- Created a standard function to send XML-RPC requests, which logs them like ↵Oren Hurvitz1-1/+1
we do for other types of HTTP activity. - Changed OpenProfileClient to use the new XML-RPC sending function - Improved logging in WebUtil
2014-04-24When sending JSON-RPC calls (for UserProfile), use WebUtil instead of ↵Oren Hurvitz1-98/+77
constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6".
2014-04-02String matching in REST handlers: must allow '-' as a separator, because the ↵Oren Hurvitz1-1/+1
"/map" handler uses it
2014-04-02Better string matching when searching for REST handlers: must match an ↵Oren Hurvitz1-3/+8
entire path component (ending with '/' or a similar character). For example, these should match: "/assets" and "/assets/12345", but these shouldn't match: "/assets" and "/assets_exist".
2014-04-02Fixed last-resort sending of error response (HTTP 500) when an error occurs ↵Oren Hurvitz1-4/+4
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-25Use the "X-Content-Encoding" header to indicate gzipped data, because old ↵Oren Hurvitz2-3/+17
OpenSims fail if they get an unknown "Content-Encoding"
2014-03-25Sync code that has moved in development branch with changes in masterBlueWall1-45/+41
2014-03-25Move from UserProfileModule for general availabilityBlueWall1-0/+215
2014-03-25Use the "Content-Encoding" header to indicate gzipped streamsOren Hurvitz2-2/+2
2014-03-25Always throw an exception if MakeRequest (used for HTTP POST) fails. ↵Oren Hurvitz1-2/+2
(Previously many exceptions were ignored) Resolves http://opensimulator.org/mantis/view.php?id=6949
2014-03-25Improved logging of HTTP requestsOren Hurvitz1-14/+38
- 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-03-25Changed LogThreadPool to have 4 logging levels. Added console command "debug ↵Oren Hurvitz1-0/+38
threadpool level" to set the logging level. Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-18Add httpserver.<port>.QueuedPollResponses and ↵Justin Clark-Casey (justincc)1-2/+24
httpserver.<port>.ProcessedPollResponses statistics
2014-03-18minor: Correction to description of QueuedPollResponses since this covers ↵Justin Clark-Casey (justincc)1-1/+1
long poll and other 'poll' types
2014-03-18Add httpserver.<port-number>,QueuedPollResponses statJustin Clark-Casey (justincc)1-0/+13
This shows the number pf poll responses queued for processing.