ConfigParser.h File Reference
#include "acl/forward.h"
#include "base/forward.h"
#include "sbuf/forward.h"
#include "SquidString.h"
#include <memory>
#include <queue>
#include <stack>
#include <string>
Include dependency graph for ConfigParser.h:

Go to the source code of this file.

Classes

class  ConfigParser
 
class  ConfigParser::CfgFile
 

Macros

#define CONFIG_LINE_LIMIT   2048
 

Functions

int parseConfigFile (const char *file_name)
 

Macro Definition Documentation

◆ CONFIG_LINE_LIMIT

#define CONFIG_LINE_LIMIT   2048

Limit to how long any given config line may be. This affects squid.conf and all included files.

Behaviour when setting larger than 2KB is unknown. The config parser read mechanism can cope, but the other systems receiving the data from its buffers on such lines may not.

Definition at line 33 of file ConfigParser.h.

Function Documentation

◆ parseConfigFile()

int parseConfigFile ( const char *  file_name)

Definition at line 635 of file cache_cf.cc.

References DBG_CRITICAL, debugs, parseConfigFileOrThrow(), and self_destruct().

Referenced by mainReconfigureFinish(), and SquidMain().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors