axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: HTTP error
Date Tue, 24 Mar 2009 16:11:27 GMT
If you are in Windows and has access to the Axis2/C source try to do the
following.

In network_handler.c of axutil library there is a function called
axutil_network_handler_open_socket. In the bottom of that function there are
two socket options set. Remove the TCP_NODELAY option. Then for the
SO_LINGER, set 0 as the onoff value. This may fix the problem. If this fixes
the problem please let us know. We can do the neccessary changes in the
code..

Supun..

On Tue, Mar 24, 2009 at 8:51 PM, balajikumara T <balajikumara@gmail.com>wrote:

> Hi Supun
> No ,i am just sending 5 -10 request at the max.
> Basically server receives some request ,then does something and now it act
> as a client and sends 4 -5 request back again to the server and waits for
> reply.
> On the whole not more than 15 request at any point of time.
> I tried ulimit -n  as well on the place where i start apache.
> But invain.
>
> Thanks
> Balaji
>
>
>
> On Tue, Mar 24, 2009 at 11:44 AM, Supun Kamburugamuva <supun06@gmail.com>wrote:
>
>> Are you running with a heavy load?
>>
>> Supun
>>
>>
>> On Tue, Mar 24, 2009 at 7:15 PM, balajikumara T <balajikumara@gmail.com>wrote:
>>
>>> Hi
>>> I get the following error :
>>> [Tue Mar 24 09:58:01 2009] [error] http_client.c(191) Error creating a
>>> socket. Most probably error returned by OS
>>> [Tue Mar 24 09:58:01 2009] [error] http_client.c(192) Socket Creation
>>> failed.
>>> [Tue Mar 24 09:58:01 2009] [error] http_client.c(430) client data stream
>>> null or socket error for host localhost and 80 port
>>> [Tue Mar 24 09:58:01 2009] [error] http_client.c(434) A read
>>> attempt(HTTP) for the reply without sending the request
>>> [Tue Mar 24 09:58:01 2009] [error] http_sender.c(1344) status_code < 0
>>>
>>>
>>> In my setup , AXIS2C act as both client and server.
>>> This occurs only a few times ,so i am trying to retry.Is there any other
>>> option?
>>>
>>>
>>> Thanks in Advance
>>> Balaji
>>>
>>>
>>
>>
>> --
>> Software Engineer, WSO2 Inc
>> http://wso2.org
>> supunk.blogspot.com
>>
>>
>>
>


-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Mime
View raw message