mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-2746 --resolve large xmlrpc update thanks garmt
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#endif
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <sys/signal.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <xmlrpc-c/base.hpp>
|
||||
#include <xmlrpc-c/registry.hpp>
|
||||
@@ -76,12 +76,7 @@ main(int const,
|
||||
.socketFd(STDIN_FILENO)
|
||||
.registryP(&myRegistry));
|
||||
|
||||
for (bool clientHasDisconnected = false; !clientHasDisconnected;)
|
||||
server.runOnce(&clientHasDisconnected);
|
||||
// This reads one packet (containing an XML-RPC call message)
|
||||
// from Standard Input, executes the indicated RPC, and writes
|
||||
// one packet containing the XML-RPC response message to
|
||||
// Standard Input.
|
||||
server.run();
|
||||
|
||||
} catch (exception const& e) {
|
||||
cerr << "Something threw an error: " << e.what() << endl;
|
||||
|
Reference in New Issue
Block a user