Sergiy Pavlov

Results issues of Sergiy Pavlov

### Description A .NET application could experience theese symptoms after a short CPU spike, and then contributing to further process performance degradation that could last for minutes. ![Image](https://github.com/user-attachments/assets/5bb8f4fd-ff39-4472-8de3-19a6411831e1) The process...

## Description We have observed a severe performance issue in our high-throughput application using prometheus-net (v8.2.0+). The issue stems from the usage of `ReaderWriterLockSlim` in `ManagedLifetimeMetricHandle` to protect metric leases....

@halter73 After upgrading from AspNetCore NuGet package **2.1.0-rc1-final** to **2.1.0-rtm-30787** that [differ](https://github.com/aspnet/KestrelHttpServer/compare/2.1.0-rc1-final...da21fc8) slightly with #2533 and #2562 we noticed instances of 200 server responses containing empty content. This behavior messes...

feature-kestrel
area-networking

Noticed during code review that there is a potential memory leak in `GCHandle` and `WinHttpRequestState` instances when `WinHttpHandler.InternalSendRequestAsync()` executed repeatedly from asynchronous `do/while` loop in `WinHttpHandler.StartRequest`. **Cause:** `WinHttpRequestState` may pin...

area-System.Net

System.IO.FileLoadException at System.Net.Http.WinHttpHandler.SendAsync(): Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception...

bug
area-System.Net.Http

**Issue** RE: [HttpClientHandler.Net46.cs GetResponseCallback()](https://github.com/dotnet/corefx/blob/c20c3172cfa8cd926c6acac435b9a72c77d655fe/src/System.Net.Http/src/System/Net/Http/HttpClientHandler.Net46.cs#L1001): For unsuccessful http requests (for example: '404' Not Found) `HttpClientHandler.Net46` implementation behaves differently than other implementations of `HttpClientHandler`. While `HttpResponseMessage` result is expected from `await HttpClientHandler.SendAsync`,...

bug
area-System.Net.Http

@karelz @stephentoub After the deadlock hits the process has to be restarted. If continued to be used the visible symptoms are the inability to communicate with a certain endpoint, the...

bug
tenet-reliability

@stephentoub @geoffkizer https://github.com/dotnet/coreclr/blob/5699a504640a322935f7f57f3ea627cee494c804/src/System.Private.CoreLib/src/System/Threading/CancellationTokenSource.cs#L738 Per https://github.com/dotnet/corefx/issues/32262 issue infinite loops are dangerous for an unsuspecting API consumer like [class HttpConnectionPool](https://github.com/dotnet/corefx/blob/ac50832f493f6a554caaeaa3db9426a18b9e9c12/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs#L785). If the spin https://github.com/dotnet/coreclr/blob/5699a504640a322935f7f57f3ea627cee494c804/src/System.Private.CoreLib/src/System/Threading/CancellationTokenSource.cs#L736 cannot be avoided then a reasonable timeout crashing...

enhancement
area-System.Threading

It seems obvious that there is a lack of external cancellation support in a few HttpClient methods: GetByteArrayAsync, GetStreamAsync and maybe others. Any particular reason? What is expected: ```c# class...

api-approved
area-System.Net.Http

SDK: netcoreapp2.1 Repro results: - [Windows 10](https://drive.google.com/file/d/1mNWpysymnTAC_aqUKs1qUmWAzPDBRpM7/view?usp=sharing) - [Ubuntu 18.04](https://drive.google.com/file/d/1UtN2iqID6tbsS7dm87LLiZENSd0ZRVpO/view?usp=sharing) ... missing text "Test" Repro: [here](https://github.com/baal2000/GenerateBitmapTest) ```c# using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; namespace GenerateBitmapTest { class Program...

bug
area-System.Drawing
os-linux