You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Robert Simon (Jira)" <ji...@apache.org> on 2022/08/30 10:24:00 UTC
[jira] [Created] (THRIFT-5616) CreateRequestContext never called in the generated TProcessorImpl class
Robert Simon created THRIFT-5616:
------------------------------------
Summary: CreateRequestContext never called in the generated TProcessorImpl class
Key: THRIFT-5616
URL: https://issues.apache.org/jira/browse/THRIFT-5616
Project: Thrift
Issue Type: Bug
Components: Delphi - Compiler
Affects Versions: 0.16.0
Reporter: Robert Simon
Under the generated *TProcessorImpl* class *Process* method the events received as parameters ({_}const events : IProcessorEvents{_}) never called.
I suggest a solution, (before the *TProcessFunction* call):
_if Assigned(events) then events.CreateRequestContext(msg.name);_
_fn(msg.SeqID, iprot, oprot);_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)