increase allowed nesting level to what the client allows (1000)
This commit is contained in:
parent
6e07c7deac
commit
1a69da5b57
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ node::node(document& doc, node* parent)
|
|||
node::node(document& doc, node* parent, const char** str, int depth)
|
||||
: doc_(&doc), parent_(parent)
|
||||
{
|
||||
if(depth >= 30) {
|
||||
if(depth >= 1000) {
|
||||
throw error("elements nested too deep");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue