Make bad xml-rpc methods return xml error message rather than http error message, fixing #108
This commit is contained in:
parent
80f7c87567
commit
88999e7d49
|
@ -30,6 +30,7 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <pthread.h>
|
||||
|
|
|
@ -313,7 +313,7 @@ void xml_handle(WS_CONNINFO *pwsc) {
|
|||
return;
|
||||
}
|
||||
|
||||
ws_returnerror(pwsc,500,"Invalid method");
|
||||
xml_return_error(pwsc,500,"Invalid method");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue