mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
sync code
This commit is contained in:
@@ -57,6 +57,7 @@ unsigned int getResBodyThreadTimeout();
|
||||
unsigned int getMinRetriesForVerdict();
|
||||
unsigned int getMaxRetriesForVerdict();
|
||||
unsigned int getReqBodySizeTrigger();
|
||||
unsigned int getRemoveResServerHeader();
|
||||
|
||||
unsigned int getWaitingForVerdictThreadTimeout();
|
||||
|
||||
|
@@ -228,6 +228,18 @@ public:
|
||||
return sni_host_name;
|
||||
}
|
||||
|
||||
void
|
||||
setDnHostName(const std::string &_dn_host_name)
|
||||
{
|
||||
dn_host_name = _dn_host_name;
|
||||
}
|
||||
|
||||
Maybe<std::string>
|
||||
getDnHostName() const
|
||||
{
|
||||
return dn_host_name;
|
||||
}
|
||||
|
||||
void
|
||||
setRateLimitBlock(uint block_time)
|
||||
{
|
||||
@@ -273,6 +285,7 @@ public:
|
||||
private:
|
||||
std::string host_name = "";
|
||||
Maybe<std::string> sni_host_name = genError("SNI host name not set");
|
||||
Maybe<std::string> dn_host_name = genError("DN host name not set");
|
||||
std::string ca_path = "";
|
||||
std::string client_cert_path = "";
|
||||
std::string client_key_path = "";
|
||||
|
@@ -47,6 +47,7 @@
|
||||
#include "buffer.h"
|
||||
#include "intelligence_comp_v2.h"
|
||||
#include "messaging.h"
|
||||
#include "env_details.h"
|
||||
|
||||
USE_DEBUG_FLAG(D_COMP_IS);
|
||||
|
||||
@@ -233,6 +234,7 @@ class ComponentListCore
|
||||
MemoryCalculator,
|
||||
TenantManager,
|
||||
GenericRulebase,
|
||||
EnvDetails,
|
||||
Components...
|
||||
>
|
||||
{
|
||||
|
@@ -18,12 +18,14 @@
|
||||
#include "i_mainloop.h"
|
||||
#include "singleton.h"
|
||||
#include "component.h"
|
||||
#include "i_time_get.h"
|
||||
|
||||
class SocketIS
|
||||
:
|
||||
public Component,
|
||||
Singleton::Provide<I_Socket>,
|
||||
Singleton::Consume<I_MainLoop>
|
||||
Singleton::Consume<I_MainLoop>,
|
||||
Singleton::Consume<I_TimeGet>
|
||||
{
|
||||
public:
|
||||
SocketIS();
|
||||
|
Reference in New Issue
Block a user