S
szz743
Got native C++ IIS module. IHttpRequest::ReadEntityBody() is used to read body of a very long PUT request that uses chunked encoding, basically a stream of unknown size. ReadEntityBody() can succeed a hundred times or hundreds of thousands times but then the call fails with error 0x80070001, which is ERROR_INVALID_FUNCTION converted to HRESULT.The size of the buffer where data is read into does not matter. Asynchronous or synchronous reading fails the same way.Failed Request Tracing did not reveal anything useful, but pointed me to the very old thread - Error during GENERAL_REQUEST_ENTITY
Continue reading...
Continue reading...