Shrink ManifestEnvelope.MaxChunkSize to hold extended data (#87322)
authorms-hujia <48512395+ms-hujia@users.noreply.github.com>
Tue, 13 Jun 2023 21:49:14 +0000 (05:49 +0800)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 21:49:14 +0000 (14:49 -0700)
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs

index b36fca3..f3b6ab9 100644 (file)
@@ -6133,7 +6133,7 @@ namespace System.Diagnostics.Tracing
     /// </summary>
     internal struct ManifestEnvelope
     {
-        public const int MaxChunkSize = 0xFF00;
+        public const int MaxChunkSize = 0xF700;
         public enum ManifestFormats : byte
         {
             SimpleXmlFormat = 1,          // simply dump the XML manifest as UTF8