* 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:
John Hurliman
2008-10-07 20:07:24 +00:00
parent 419f4485a7
commit 0169177c99
2 changed files with 19 additions and 3 deletions

View File

@@ -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);