[ https://issues.apache.org/jira/browse/THRIFT-4886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873308#comment-16873308 ]
Jens Geyer edited comment on THRIFT-4886 at 6/26/19 12:51 PM: -------------------------------------------------------------- There's a problem wirth the currtent patch due to an ikncorrect cast on 64 bit systems which may cause an AV. Adressed in [^Thrift.WinHTTP.pas.patch] was (Author: jensg): There's a problem wirth the currtent patch due to an ikncorrect cast on 64 bit systems which may cause an AV. > More detailed error information for WinHTTP transport > ----------------------------------------------------- > > Key: THRIFT-4886 > URL: https://issues.apache.org/jira/browse/THRIFT-4886 > Project: Thrift > Issue Type: Improvement > Components: Delphi - Library > Reporter: Jens Geyer > Assignee: Jens Geyer > Priority: Major > Fix For: 0.13.0 > > Attachments: > 0001-THRIFT-4886-More-detailed-error-information-for-WinH.patch, > 0002-THRIFT-4886-More-detailed-error-information-for-WinH.patch, > Thrift.WinHTTP.pas.patch > > > The WinHTTP transport method {{CreateRequest()}} needs more detailed error > information. Otherwise it is pretty hard to guess at which step exactly the > problem arises. Additionally, the method should wrap any non-Thrift-Exception > into \{{TTransportException}}. Furthermore, the error codes retrieved via > GetLastError should be enriched by a textual representation of the error code. -- This message was sent by Atlassian JIRA (v7.6.3#76005)