aspnet / Microsoft.AspNet.TelemetryCorrelation

Microsoft.AspNet.CorrelationIdTracker module for tracking multi-tier activities
Other
13 stars 18 forks source link

Validate CorrelationContext size #36

Closed lmolkova closed 6 years ago

lmolkova commented 6 years ago

As per Http Correlation spec, correlation context must not exceed 1024 bytes, this change validates it and does not put extra baggage pairs into the Activity after limit is exceeded.

Size of Request-Id is enforced on the Activity level and does not need validation

lmolkova commented 6 years ago

@MS-TimothyMothra @Dmitry-Matveev