Mercurial > hg > orthanc
comparison Core/HttpServer/MongooseServer.cpp @ 2616:2f3007bf0708 jobs
event queues in Lua, serialization of sequence of operations
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 May 2018 12:25:37 +0200 |
parents | 010577b52f5f |
children | 33c0b4da8cb2 |
comparison
equal
deleted
inserted
replaced
2614:3200223f9ade | 2616:2f3007bf0708 |
---|---|
674 #error | 674 #error |
675 #endif | 675 #endif |
676 | 676 |
677 std::string username = GetAuthenticatedUsername(headers); | 677 std::string username = GetAuthenticatedUsername(headers); |
678 | 678 |
679 const IIncomingHttpRequestFilter *filter = server.GetIncomingHttpRequestFilter(); | 679 IIncomingHttpRequestFilter *filter = server.GetIncomingHttpRequestFilter(); |
680 if (filter != NULL) | 680 if (filter != NULL) |
681 { | 681 { |
682 if (!filter->IsAllowed(method, request->uri, remoteIp, | 682 if (!filter->IsAllowed(method, request->uri, remoteIp, |
683 username.c_str(), headers, argumentsGET)) | 683 username.c_str(), headers, argumentsGET)) |
684 { | 684 { |