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

Stop preparing the request if an error occurs #216

Merged
merged 1 commit into from Sep 9, 2021

Commits on Sep 9, 2021

  1. Stop preparing the request if an error occurs

    request.buildHTTP closes the writer but keeps preparing the request if
    an error occurs. Since the writer is already closed, other following
    write operations also fail. This commit changes this behaviour so that
    the function returns earlier and stop the preparation.
    
    Signed-off-by: Junpei Kawamoto <kawamoto.junpei@gmail.com>
    jkawamoto committed Sep 9, 2021
    Copy the full SHA
    b3931df View commit details
    Browse the repository at this point in the history