有没有办法在c ++中覆盖ERROR_WINHTTP_INVALID_SERVER_RESPONSE? [英] is there any way to override ERROR_WINHTTP_INVALID_SERVER_RESPONSE in c++?

查看:180
本文介绍了有没有办法在c ++中覆盖ERROR_WINHTTP_INVALID_SERVER_RESPONSE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将通过在c ++中使用WinHttpSendRequest和WinHttpReceiveResponse来发送HttpRequest并接收响应。


WinHttpSendRequest成功,但WinHttpReceiveResponse失败,错误为ERROR_WINHTTP_INVALID_SERVER_RESPONSE。


我不知道如何解决这个问题。



解决方案

你好,


我在这里读到:
https://groups.google.com/forum/#!topic/microsoft.public.winhttp/IuQFkHrjIao


一个答案可能是你的标题数据太长了。另一个可能是您的防病毒产生问题。


此致,Guido


I am going to send HttpRequest and receive reponse by using WinHttpSendRequest and WinHttpReceiveResponse in c++.

WinHttpSendRequest is succeeded, but WinHttpReceiveResponse is failed with the error ERROR_WINHTTP_INVALID_SERVER_RESPONSE.

I don't know how to resolve this issue.

解决方案

Hello,

as I read here: https://groups.google.com/forum/#!topic/microsoft.public.winhttp/IuQFkHrjIao

One answer can be that your header data is too long. Another can be that your antivirus makes problems.

Regards, Guido


这篇关于有没有办法在c ++中覆盖ERROR_WINHTTP_INVALID_SERVER_RESPONSE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆