File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ class ExampleContext : public Context {
4141public:
4242 explicit ExampleContext(uint32_t id, RootContext* root) : Context(id, root) {}
4343
44- FilterHeadersStatus onRequestHeaders(uint32_t headers) override;
44+ FilterHeadersStatus onRequestHeaders(uint32_t headers, bool end_of_stream ) override;
4545 void onDone() override;
4646};
4747static RegisterContextFactory register_ExampleContext(CONTEXT_FACTORY(ExampleContext));
4848
49- FilterHeadersStatus ExampleContext::onRequestHeaders(uint32_t headers) {
49+ FilterHeadersStatus ExampleContext::onRequestHeaders(uint32_t headers, bool end_of_stream ) {
5050 logInfo(std::string("onRequestHeaders ") + std::to_string(id()));
5151 auto path = getRequestHeader(":path");
5252 logInfo(std::string("header path ") + std::string(path->view()));
You can’t perform that action at this time.
0 commit comments