soap_serve() blocking
Development toolkit for Web Services and XML data bindings for C & C++
Brought to you by:
engelen
Hello,
Sometimes soap_serve() is blocked and don't call soap_call_ns__method methods.
We use the version 2.8.3 under AIX 6.1.
The bug had occured 3 times on about 500 000 requests but we don't know how to reproduce it.
In fact, our servers are mono-threaded.
We use alam(120) before soap_serve() and alarm(900) in mesl(), but sometimes the first alam with 120 is up.
Can you help us please?
Thanks.
main source code
Did you set soap->send_timeout and soap->recv_timeout values?
Hello Robert,
there are values:
soap->recv_timeout = 0;
soap->send_timeout = 0;
soap->accept_timeout = GSOAP_ACCEPT_TIMEOUT;
I've uploaded the source code for you.
Thanks for your support.
You have to set the recv_timeout and send_timeout values as well. I/O may block otherwise,