Originally posted by @jamescrosswell in #3792
macOS
On macOS, the following code results in a java.net.SocketException: Socket closed exception when processing the envelope:
.UseSentry(options =>
{
// All the standard options
const int mb = 1024 * 1024;
options.MaxAttachmentSize = 80 * mb;
options.SetBeforeSend((e, h) =>
{
var random = new Random();
var byteArray = new byte[20 * mb];
random.NextBytes(byteArray);
h.AddAttachment(byteArray, $"twentymb.bin");
return e;
});
}
Additionally, the envelope getting stuck in the __processing directory and preventing other envelopes from being sent. I think that is a problem in the .NET SDK and possibly a regression of:
Originally posted by @jamescrosswell in #3792
macOS
On macOS, the following code results in a
java.net.SocketException: Socket closedexception when processing the envelope:Additionally, the envelope getting stuck in the
__processingdirectory and preventing other envelopes from being sent. I think that is a problem in the .NET SDK and possibly a regression of:__processinguntil restart #3384