- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 225
Closed
Labels
BugSomething isn't workingSomething isn't working
Description
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:
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working
Projects
Status
Done