douyinmian8151 2017-01-30 21:40
浏览 31

PHP SoapClient __lastRequestHeaders突然停止生成

I have a problem with PHP's SoapClient.

After approximately 1015 successful requests it suddenly stops generating headers and requests. Underneath a bit of code.

$this->client = new SoapClient($this->location . '?wsdl', array('trace' => 1));

$result = $this->client->__doRequest($xml, $this->location, $dienst, 1);

for the first 1015 __lastRequestHeaders gives me a text output.

 echo "RequestHeaders:
" . $this->client->__getLastRequestHeaders() . "
";
 echo "Request:
" . $this->client->__getLastRequest() . "
";
 echo "ResponseHeaders:
" . $this->client->__getLastResponseHeaders() . "
";
 echo "Response:
" . $this->client->__getLastResponse() . "
";

After 1016 requests it outputs nothing (except the fixed textlabels) and the soaprequest is not created.

The remote server claims not to limit the amount of connections made. This is also the case on our servers.

Even if I wait for 30 minutes after 1000 requests or even 200 requests. It always seems to stop after 1015 successes.

I must be missing something here. a config setting or something like that. I'm using Ubuntu 16 and PHP7.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 如何用脚本实现输入法的热键设置
    • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
    • ¥30 深度学习,前后端连接
    • ¥15 孟德尔随机化结果不一致
    • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
    • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
    • ¥15 谁有desed数据集呀
    • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
    • ¥15 关于#hadoop#的问题
    • ¥15 (标签-Python|关键词-socket)