add Request::job_second_id

This commit is contained in:
2022-08-20 00:31:10 +02:00
parent 3609d94c09
commit 5dd34c802e
4 changed files with 15 additions and 4 deletions

View File

@@ -55,6 +55,7 @@
#include "plugin.h"
#include "mount.h"
#include "mounts.h"
#include "jobtask.h"
@@ -442,7 +443,8 @@ public:
FCGX_Request fcgi_request;
long job_id;
long job_id; // the main id of your job
long job_second_id; // a secondary id of your job
pt::Space job;
@@ -505,7 +507,7 @@ public:
bool has_frame(const wchar_t * frame);
bool has_frame(const std::wstring & frame);
void create_job(long job_id);
void create_job(long job_id = JobTask::JOB_ID_DEFAULT, long job_secondary_id = JobTask::JOB_ID_DEFAULT);
void modify_status_code_if_needed();
// RENAMEME to add_header_if_not_exists