comparison OrthancServer/ServerContext.cpp @ 409:63f707278fc8 lua-scripting

lua filtering of incoming http requests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 03 May 2013 12:23:02 +0200
parents 2d269089078f
children 08eca5d86aad
comparison
equal deleted inserted replaced
408:5a3a4a25e568 409:63f707278fc8
98 call.PushJSON(simplified); 98 call.PushJSON(simplified);
99 call.PushString(remoteAet); 99 call.PushString(remoteAet);
100 100
101 if (!call.ExecutePredicate()) 101 if (!call.ExecutePredicate())
102 { 102 {
103 LOG(INFO) << "An incoming instance has been discarded by a filter"; 103 LOG(INFO) << "An incoming instance has been discarded by the filter";
104 return StoreStatus_FilteredOut; 104 return StoreStatus_FilteredOut;
105 } 105 }
106 } 106 }
107 107
108 if (compressionEnabled_) 108 if (compressionEnabled_)