Soap Delphi Client端出现1MB呼叫超时 [英] Soap Delphi Client end with a timeout for a 1MB call

查看:118
本文介绍了Soap Delphi Client端出现1MB呼叫超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发SOAP Web服务(Apache/PHP).对于小规模的调用,所有命令都运行良好,但是对于1Mb的soap调用(HTTPS调用大小为1MB),我们的Delphi Soap客户端在所有PC上都停止了超时,但一台计算机上都超时了,而我们的PHP客户端在default_socket_timeout = 300上运行良好,但是停止了出现"default_socket_timeout = 60"的提取HTTP标头错误".

we are developing a SOAP webservice (Apache/PHP). All run well for small size calls, but with a 1Mb soap call (the HTTPS call size is 1MB) our Delphi Soap client stop with a timeout on all PC but one, and our PHP clients run well with a default_socket_timeout=300, but stop with a "Error Fetching http headers" with default_socket_timeout=60.

我们如何更改Delphi的超时时间?实际上,此超时似乎在Windows XP网络库中(soaphttptrans.pas调用的wininet.dll)

How can we change the timeout for Delphi? In fact this timeout seem to be in a Windows XP network library (wininet.dll called by soaphttptrans.pas)

谢谢
塞德里克

Thanks
Cédric

推荐答案

事实上,这是IE7安装的问题:它会更改所有网络超时.

In fact it was a problem with IE7 installation : it change all the network timeout.

具有IE6的PC的超时时间为3600秒,IE7将其更改为30秒. 使用InternetQueryOption()可显示此内容,InternetSetOption可帮助更改此内容.

PC with IE6 have a 3600 secondes timeout, IE7 change it to 30 secondes. Use of InternetQueryOption() show this, and InternetSetOption help to change this.

非常感谢我的工作伙伴花了好几个小时来捉虫子.

Big thanks to my work mate wich hunt the bug for hours.

这篇关于Soap Delphi Client端出现1MB呼叫超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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