Skip to content

reduce allocations in remote #161

@korniltsev

Description

@korniltsev

body := &bytes.Buffer{}
writer := multipart.NewWriter(body)
fw, err := writer.CreateFormFile("profile", "profile.pprof")
if err != nil {

Consider streaming writing to the request or avoid the multipart form if possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions