aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-05-08some conditional dispose on http requests inputstreamUbitUmarov2-1/+8
2017-05-07let StreamReader be in using statementsUbitUmarov2-31/+18
2017-01-05Massive tab and trailing space cleanupMelanie Thielker18-121/+121
2016-12-08JsonRpc: don't try to connect to a empty uriUbitUmarov1-0/+3
2016-08-21 put back the dangerous resp.ReuseContext = true option, that for some odd ↵UbitUmarov1-2/+2
reason OSgrid nginx configuration seems to need
2016-07-16http send is blocking, so we need we need to do it async in all cases. - ↵UbitUmarov2-20/+15
this will need revision after server changes
2016-06-14"reverting" the keep alive changes brought in from avination, to check if ↵Diva Canto2-7/+2
that's what's making osgrid fail. This is not really reverting, it's more manually resetting some places (not all) where keep alive is set.
2016-02-21Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global ↵Diva Canto1-1/+1
replace anymore.
2015-12-09minor cleanupUbitUmarov1-17/+4
2015-10-18On to 0.8.3!Diva Canto1-1/+1
Conflicts: OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
2015-10-18On to 0.8.3!Diva Canto1-1/+1
2015-09-23 dont let http keepalive and context reuse be trueUbitUmarov2-3/+16
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)UbitUmarov2-161/+27
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-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-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-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-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-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)1-1/+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-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