You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2022/08/30 20:06:00 UTC

[jira] [Resolved] (THRIFT-5616) CreateRequestContext seems never called in the generated TProcessorImpl class

     [ https://issues.apache.org/jira/browse/THRIFT-5616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-5616.
--------------------------------
    Fix Version/s: 0.17.0
         Assignee: Jens Geyer
       Resolution: Not A Bug

> CreateRequestContext seems 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
>            Assignee: Jens Geyer
>            Priority: Minor
>             Fix For: 0.17.0
>
>
> 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)