[ https://issues.apache.org/jira/browse/THRIFT-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5188. -------------------------------- Fix Version/s: 0.14.0 Assignee: Jens Geyer Resolution: Fixed > Occasional ERROR_INSUFFICIENT_BUFFER at WinHttpQueryHeaders() > ------------------------------------------------------------- > > Key: THRIFT-5188 > URL: https://issues.apache.org/jira/browse/THRIFT-5188 > Project: Thrift > Issue Type: Bug > Components: Delphi - Library > Reporter: Jens Geyer > Assignee: Jens Geyer > Priority: Major > Fix For: 0.14.0 > > Attachments: > 0001-THRIFT-5188-Occasional-ERROR_INSUFFICIENT_BUFFER-at-.patch > > > Calls {{WinHttpQueryHeaders()}} sometimes return error 122 > (ERROR_INSUFFICIENT_BUFFER) even if the buffer is large enough, leading > TWinHTTPRequestImpl.QueryTotalResponseSize() to fail.. > According to the docs, WINHTTP_QUERY_FLAG_NUMBER always returns a 32 bit > number (which it indeed does), but for some strange reason since win 10 build > 18636.815 passing a DWORD sized buffer is sometimes not enough anymore -- This message was sent by Atlassian Jira (v8.3.4#803005)