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

Pass ThreadContext to transport interceptors to allow header modification #22618

Merged
merged 7 commits into from Jan 15, 2017

Commits on Jan 13, 2017

  1. Pass ThreadContext to transport interceptors to allow header modifica…

    …tion
    
    TransportInterceptors are commonly used to enrich requests with headers etc.
    which requires access the the thread context. This is not always easily possible
    since threadpools are hard to access for instance if the interceptor is used on a transport client.
    
    This commit passes on the thread context to all the interceptors for further consumption.
    
    Closes elastic#22585
    s1monw committed Jan 13, 2017
    Copy the full SHA
    e3d4d94 View commit details
    Browse the repository at this point in the history
  2. typo

    s1monw committed Jan 13, 2017
    Copy the full SHA
    6f836b4 View commit details
    Browse the repository at this point in the history
  3. fix line len

    s1monw committed Jan 13, 2017
    Copy the full SHA
    7547dbc View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    78d6f3d View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2017

  1. fix line len

    s1monw committed Jan 15, 2017
    Copy the full SHA
    1abba30 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d0def55 View commit details
    Browse the repository at this point in the history
  3. fix tests

    s1monw committed Jan 15, 2017
    Copy the full SHA
    789e38e View commit details
    Browse the repository at this point in the history