#38163 [Opn->Fbk]: Problem in communication to http server using soap client of php

From: Date: Thu, 20 Jul 2006 14:54:52 +0000
Subject: #38163 [Opn->Fbk]: Problem in communication to http server using soap client of php
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99674@lists.php.net to get a copy of this message
 ID:               38163
 Updated by:       tony2001@php.net
 Reported By:      imthiazj2 at hcl dot in
-Status:           Open
+Status:           Feedback
-Bug Type:         Performance problem
+Bug Type:         SOAP related
 Operating System: Solaris
 PHP Version:      5.1.4
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2006-07-20 14:43:12] imthiazj2 at hcl dot in

Description:
------------
Hi, 

I am connecting a http server, using soap client.Since the http server
is not responding, the soap client remains connecting to it.So the
apache port becomes in time_wait and it stops listening from further
request. It leads to a situation where the apache has to be restarted.
It is similar to 33765, but here the server is not responding, so the
apache hangs



Reproduce code:
---------------
$client = new SoapClient(NULL,
        array(
        "location" => $location,
        "login" => "root",
        "uri" => "urn:gsnmp",
        "password" => "12345678",
        "exceptions" => 1,
        "trace"    => 1,
        "features"=>SOAP_WAIT_ONE_WAY_CALLS
           ));
ini_set('default_socket_timeout', 10)
$result = $client->__doRequest("",$locationwithdata,"",1);


Expected result:
----------------
The soap client should wait for few seconds and returns error or soap
fault.
So that it should avoid from apache hanging.


Actual result:
--------------
It makes apache server to hang and needs to restart for processing
further request


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38163&edit=1


Thread (13 messages)

« previous php.bugs (#99674) next »