You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by Christoph Theis <th...@gmx.at> on 2004/04/11 16:26:51 UTC

[PATCH] ws-xmlrpc 2.0

Hello

I attach a patch for two issues in xmlrpc-2.0-a1-dev
(what I get if I pull ws-xmlrpc with cvs).

1. The class ServerInputStream shall be public.
2. XmlRcpClient.run(): The code there reads

        public void run()
        {
            try
            {
                while (call != null)
                {
 -->                call = dequeue();
 -->                executeAsync(call.request, call.callback, call.transport);
                }
            }
            finally
            {
                releaseWorker(worker, true);
            }
        }

But the sequence of the two marked lines must be reversed. Else "call"
might be null and the first call is ignored.

Kind regards

Christoph