thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-5188) Occasional ERROR_INSUFFICIENT_BUFFER at WinHttpQueryHeaders()
Date Mon, 27 Apr 2020 19:05:00 GMT
Jens Geyer created THRIFT-5188:
----------------------------------

             Summary: 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


Since {{WinHttpQueryHeaders()}} sometimes returns error 122 (ERROR_INSUFFICIENT_BUFFER) even
if the buffer is large enough. 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)

Mime
View raw message