Skip to content

Commit

Permalink
Reverted disposal of multipart data form (#3197)
Browse files Browse the repository at this point in the history
Reverted faulty disposal logic of multipart data forms

Co-authored-by: Alan Rynne <[email protected]>
  • Loading branch information
JR-Morgan and AlanRynne authored Feb 26, 2024
1 parent 32dda27 commit 4d73b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Core/Transports/ServerUtils/ServerAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ private async Task UploadObjectsImpl(string streamId, List<List<(string, string)
using HttpRequestMessage message =
new() { RequestUri = new Uri($"/objects/{streamId}", UriKind.Relative), Method = HttpMethod.Post };

using MultipartFormDataContent multipart = new();
MultipartFormDataContent multipart = new();

int mpId = 0;
foreach (List<(string, string)> mpData in multipartedObjects)
Expand Down

0 comments on commit 4d73b7e

Please sign in to comment.