* HttpServer fix for when a handler throws an exception but has already closed the response connection
* UUID.TryParse() on a null or empty string will now return false git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2275 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -208,6 +208,12 @@ namespace OpenMetaverse
|
||||
/// <example>UUID.TryParse("11f8aa9c-b071-4242-836b-13b7abe0d489", result)</example>
|
||||
public static bool TryParse(string val, out UUID result)
|
||||
{
|
||||
if (String.IsNullOrEmpty(val))
|
||||
{
|
||||
result = UUID.Zero;
|
||||
return false;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
result = Parse(val);
|
||||
|
||||
Reference in New Issue
Block a user