mirror of
https://github.com/openappsec/attachment.git
synced 2026-01-17 16:00:26 +03:00
Added Hold verdict
This commit is contained in:
@@ -249,6 +249,36 @@ SendDelayedVerdictRequestAsyncImpl(
|
||||
return NANO_OK;
|
||||
}
|
||||
|
||||
NanoCommunicationResult
|
||||
SendHoldDataAsyncImpl(
|
||||
NanoAttachment *attachment,
|
||||
HttpSessionData *session_data_p
|
||||
)
|
||||
{
|
||||
HttpEventThreadCtx ctx;
|
||||
|
||||
if (attachment == NULL || session_data_p == NULL) {
|
||||
return NANO_ERROR;
|
||||
}
|
||||
|
||||
ctx.attachment = attachment;
|
||||
ctx.data = NULL;
|
||||
ctx.session_data_p = session_data_p;
|
||||
ctx.res = NANO_OK;
|
||||
ctx.web_response_data = NULL;
|
||||
ctx.modifications = NULL;
|
||||
|
||||
nano_request_delayed_verdict(
|
||||
attachment,
|
||||
&ctx,
|
||||
session_data_p->session_id,
|
||||
&session_data_p->remaining_messages_to_reply,
|
||||
false
|
||||
);
|
||||
|
||||
return ctx.res;
|
||||
}
|
||||
|
||||
NanoCommunicationResult
|
||||
SendMetricToServiceAsyncImpl(
|
||||
NanoAttachment *attachment,
|
||||
|
||||
Reference in New Issue
Block a user