Skip to content

EncodeJSONResponse - http: superfluous response.WriteHeader call  #407

@aeharvlee

Description

@aeharvlee

Describe the bug
When request to rosetta-etheruem using roestta-cli check:data, it often returns

http: superfluous response.WriteHeader call from github.com/coinbase/rosetta-sdk-go/server.EncodeJSONResponse (routers.go:xx)

Related source code: EncodeJSONResponse
Related Go Forum posting: https://forum.golangbridge.org/t/http-superfluous-response-writeheader-call/24326/3

To Reproduce
Run rosetta-cli check:data with high concurrency options.

Expected behavior
superfluous should not be happened.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions