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: superfluous response.WriteHeader call #724

Closed

Commits on Mar 11, 2020

  1. fix: superfluous response.WriteHeader call

    This makes WriteHeader do nothing if wroteHeader us already true.
    
    It is a more robust way of avoiding superfluous response.WriteHeader
    call. Old version fixed redundant calls made by client_golang, this one
    closes the gap on calls made by third party code.
    
    It also makes delegator code simpler.
    
    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    2576f8a View commit details
    Browse the repository at this point in the history