dnp3 (C++ API) 1.8.0-RC1
Loading...
Searching...
No Matches
dnp3::AppLayerOptions Class Reference

Global application layer configuration settings. More...

#include <dnp3.hpp>

Static Public Member Functions

static void parse_zero_length_strings (bool enabled)
 Enable or disable the parsing of zero-length strings, e.g., Group 110/111 Variation 0. More...
 

Detailed Description

Global application layer configuration settings.

Member Function Documentation

◆ parse_zero_length_strings()

static void dnp3::AppLayerOptions::parse_zero_length_strings ( bool  enabled)
static

Enable or disable the parsing of zero-length strings, e.g., Group 110/111 Variation 0.

This is disabled by default for security reasons as enabling it can allow resource exhaustion attacks.

This global option is a work-around to preserve API compatability until a future 2.0 release

Parameters
enabledIf true, enable the parsing of zero length strings

The documentation for this class was generated from the following file: