'RPC_IN_DATA', 'RPC_OUT_DATA', 'RPC_ECHO_DATA'
}
-http_profile_all =
+http_profile_default =
{
- profile_type = 'all',
+ profile_type = 'default',
server_flow_depth = 300,
client_flow_depth = 300,
post_depth = -1,
p++;
if ( hi_util_in_bounds(start, end, p) )
{
- if ( ServerConf->profile == HI_APACHE || ServerConf->profile == HI_ALL)
+ if ( ServerConf->profile == HI_APACHE || ServerConf->profile == HI_DEFAULT)
{
SkipWhiteSpace(start,end,&p);
}
if ( isdigit((int)*p))
break;
else if(isspace((int)*p) &&
- (ServerConf->profile == HI_APACHE || ServerConf->profile == HI_ALL) )
+ (ServerConf->profile == HI_APACHE || ServerConf->profile == HI_DEFAULT) )
{
SkipWhiteSpace(start,end,&p);
}
}
else
{
- if (ServerConf->profile == HI_APACHE || ServerConf->profile == HI_ALL)
+ if (ServerConf->profile == HI_APACHE || ServerConf->profile == HI_DEFAULT)
{
SkipWhiteSpace(start,end,&p);
}
prof = ServerConf->profile;
LogMessage(" Server profile: %s\n",
- prof==HI_ALL?"All":
+ prof==HI_DEFAULT?"Default":
prof==HI_APACHE?"Apache":
prof==HI_IIS?"IIS":
prof==HI_IIS4?"IIS4":"IIS5");
// http_server module
//-------------------------------------------------------------------------
-#define profiles "all | apache | iis | iis_40 | iis_50"
+#define profiles "default | apache | iis | iis_40 | iis_50"
#define default_methods \
"GET POST PUT SEARCH MKCOL COPY MOVE LOCK UNLOCK NOTIFY POLL BCOPY " \
{ "post_depth", Parameter::PT_INT, "-1:65535", "65495",
"amount of POST data to inspect" },
- { "profile_type", Parameter::PT_ENUM, profiles, "all",
+ { "profile_type", Parameter::PT_ENUM, profiles, "default",
"set defaults appropriate for selected server" },
{ "server_flow_depth", Parameter::PT_INT, "-1:65535", "0",
p++;
if ( hi_util_in_bounds(start, end, p) )
{
- if ( ServerConf->profile == HI_APACHE || ServerConf->profile == HI_ALL)
+ if ( ServerConf->profile == HI_APACHE || ServerConf->profile == HI_DEFAULT)
{
SkipWhiteSpace(start,end,&p);
}
{
if ( isalpha((int)*p))
break;
- else if(isspace((int)*p) && (ServerConf->profile == HI_APACHE || ServerConf->profile == HI_ALL) )
+ else if(isspace((int)*p) && (ServerConf->profile == HI_APACHE || ServerConf->profile == HI_DEFAULT) )
{
SkipWhiteSpace(start,end,&p);
}
* and debugging information. */
enum PROFILES
{
- HI_ALL,
+ HI_DEFAULT,
HI_APACHE,
HI_IIS,
HI_IIS4,