Clarified Verifier options.

Change-Id: I04775dedc61f1c448eedb1883182af7b07239797
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen
2015-03-30 10:37:34 -07:00
parent e8598950fc
commit 75740c1374
2 changed files with 5 additions and 2 deletions

View File

@@ -251,7 +251,9 @@ reading, the actual overhead may be even lower than expected.
In specialized cases where a denial of service attack is possible,
the verifier has two additional constructor arguments that allow
you to limit the nesting depth and total amount of tables the
verifier may encounter before declaring the buffer malformed.
verifier may encounter before declaring the buffer malformed. The default is
`Verifier(buf, len, 64 /* max depth */, 1000000, /* max tables */)` which
should be sufficient for most uses.
## Text & schema parsing