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)