Skip to content

Commit b1cfbde

Browse files
committed
Change the recursion limit to match grpc's default
1 parent 61465fd commit b1cfbde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ open class ProtoReader(private val source: BufferedSource) {
522522

523523
companion object {
524524
/** The standard number of levels of message nesting to allow. */
525-
internal const val RECURSION_LIMIT = 65
525+
internal const val RECURSION_LIMIT = 100
526526

527527
internal const val FIELD_ENCODING_MASK = 0x7
528528
internal const val TAG_FIELD_ENCODING_BITS = 3

0 commit comments

Comments
 (0)