mirror of
https://github.com/opensim/opensim.git
synced 2026-07-15 03:55:47 +08:00
replace external httpserver by embedded one (based on same code) - This may still be very bad; clean solution and runprebuild, or clone to clan folder
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace OSHttpServer
|
||||
{
|
||||
/// <summary>
|
||||
/// We dont want to let the server to die due to exceptions thrown in worker threads.
|
||||
/// therefore we use this delegate to give you a change to handle uncaught exceptions.
|
||||
/// </summary>
|
||||
/// <param name="source">Class that the exception was thrown in.</param>
|
||||
/// <param name="exception">Exception</param>
|
||||
/// <remarks>
|
||||
/// Server will throw a InternalServerException in release version if you dont
|
||||
/// handle this delegate.
|
||||
/// </remarks>
|
||||
public delegate void ExceptionHandler(object source, Exception exception);
|
||||
}
|
||||
Reference in New Issue
Block a user