Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix returned EOF error when calling Nodes GC/GcAlloc API #5970

Merged
merged 1 commit into from
Mar 12, 2020

Commits on Feb 20, 2020

  1. api: check response content length before decoding.

    The API decodeBody function will now check the content length
    before attempting to decode. If the length is zero, and the out
    interface is nil then it is safe to assume the API call is not
    returning any data to the user. This allows us to better handle
    passing nil to API calls in a single place.
    jrasell committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    d890ddb View commit details
    Browse the repository at this point in the history