Mercurial > hg > orthanc
diff Core/HttpServer/MongooseServer.cpp @ 1042:8d1845feb277
set cookies, not allowed methods, unauthorized in plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Jul 2014 15:55:40 +0200 |
parents | dcb2469f00f4 |
children | f21f7783f934 |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Thu Jul 17 14:14:15 2014 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Thu Jul 17 15:55:40 2014 +0200 @@ -714,7 +714,13 @@ if (!found) { - output.SendHeader(HttpStatus_404_NotFound); + try + { + output.SendHeader(HttpStatus_404_NotFound); + } + catch (OrthancException&) + { + } } // Mark as processed