> >
> > Hi Claudio,
> >
> > Remember this thread about the communication problem in QMQP on slow WAN
> > connections? Anyway, I started analyzing the code of qmqpc and remote
and I
> > noticed that qmqpc uses a read / write timeout of 60 secs and remote a
> > timeout of 1200 secs. I wrote a patch (below) to make the read / write
> > timeout configurable in a similar fashion as with remote in a control
file
> > named "timeoutqmqpc" (for remote it is "timeoutremote"). Setting this
> > timeout to 1200 solved my problem and connection problems disappear.
> >
> > After applying the patch, default behavior of qmqpc stays the same. This
> > means that if the control/timeoutqmqpc does not exist, the timeout is
still
> > 60 secs. I was wondering if you could add this patch to the
distribution. It
> > might help some people in the future.
> >
>
> Something like this is in the 20040401 release.
>
> -- 

The patch that was added in the 20040401 release is "Bruce Guenters
qmail-qmqpc connect timeout patch". This patch only makes the timeout for
connect configurable. However the read / write timeout in qmqpc is also
hardcoded to 60sec and with my patch also this value is configurable in a
similar fashion as is used for remote. The patch uses "control/timeoutqmqpc"
for setting the read / write timeout values. If it is not found, default
value of 60sec is used.

regards
Frank


Reply via email to