also fixes and documentation for max-recursion-depth (cherry picked from commit c4f54e5bd1) (cherry picked from commit b3aa528d7e)
c4f54e5bd1
b3aa528d7e