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

transport: hide Stream string when stored in context #1167

Merged
merged 1 commit into from
Apr 7, 2017

Commits on Apr 7, 2017

  1. transport: hide Stream string when stored in context

    It is not thread-safe to call context.String() on any context with a
    stream value since valueCtx will use %#v to access all of the Stream
    fields without holding a lock. Instead, print the Stream's pointer and
    method for its GoString.
    Anthony Romano committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    7e616f5 View commit details
    Browse the repository at this point in the history