Skip to content

Add access log handler for HTTP stream filter.#400

Merged
mattklein123 merged 4 commits intoenvoyproxy:masterfrom
qiwzhang:access_log_filter
Feb 1, 2017
Merged

Add access log handler for HTTP stream filter.#400
mattklein123 merged 4 commits intoenvoyproxy:masterfrom
qiwzhang:access_log_filter

Conversation

@qiwzhang
Copy link
Contributor

For #393

@mattklein123
Copy link
Member

this looks reasonable to me. tests please.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also pass request/response headers (optionally) like the other access log calls? Might be useful for others in the future.

@qiwzhang
Copy link
Contributor Author

@RomanDzhabarov and @mattklein123
could you help to review it?

@qiwzhang
Copy link
Contributor Author

qiwzhang commented Feb 1, 2017

@RomanDzhabarov and @mattklein123. I changed to use Http::Accesslog::Instance directly and added a test case. Could you help to review it again? Thanks.

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, just a small comment fix.

virtual void addStreamFilter(Http::StreamFilterPtr filter) PURE;

/**
* Add an access log handler that is called after response is send.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Add an access log handler that is called when the stream is destroyed." (A response may not have been sent)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@mattklein123 mattklein123 merged commit 0bac750 into envoyproxy:master Feb 1, 2017
rshriram pushed a commit to rshriram/envoy that referenced this pull request Oct 30, 2018
rshriram pushed a commit to rshriram/envoy that referenced this pull request Oct 30, 2018
Automatic merge from submit-queue.

[DO NOT MERGE] Auto PR to update dependencies of mixerclient

This PR will be merged automatically once checks are successful.
```release-note
none
```
PiotrSikora pushed a commit to PiotrSikora/envoy that referenced this pull request Feb 21, 2020
bianpengyuan pushed a commit to istio/envoy that referenced this pull request Feb 22, 2020
* Cache and share the base Wasm (envoyproxy#387)

Cache and share the base Wasm.  Use the new definition of Wasm Key to
find the base Wasm and thread local Wasm.

Signed-off-by: John Plevyak <jplevyak@gmail.com>

* Only call proxy_on_vm_start() when the VM is actaully starting. (envoyproxy#400)

Signed-off-by: John Plevyak <jplevyak@gmail.com>

* Fix SEGV when reusing the base vm. (envoyproxy#413)

Signed-off-by: John Plevyak <jplevyak@gmail.com>

Co-authored-by: John Plevyak <jplevyak@gmail.com>
PiotrSikora pushed a commit to istio/envoy that referenced this pull request Feb 24, 2020
Only call proxy_on_vm_start() when the VM is actually starting.
wolfguoliang pushed a commit to wolfguoliang/envoy that referenced this pull request Jan 23, 2021
…verload_manager.rst (envoyproxy#400)

* translation overload_manager.rst

* translation overload_manager.rst

* translation overload_manager.rst

* translation overload_manager.rst

Co-authored-by: 包仁义 <renyi.bao@yiducloud.cn>
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Description: delete dispatcher todo that is done. This TODO is done as when cleanup happens it is guaranteed that core Envoy will not fire anymore callbacks on that stream, and additionally the platform has also locally closed the stream.
Risk Level: low

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Description: delete dispatcher todo that is done. This TODO is done as when cleanup happens it is guaranteed that core Envoy will not fire anymore callbacks on that stream, and additionally the platform has also locally closed the stream.
Risk Level: low

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
mathetake added a commit that referenced this pull request Mar 3, 2026
**Commit Message**

There was a race condition in extproc package's TestStartConfigWatcher
test.

**Related Issues/PRs (if applicable)**

Follow up on #392

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants