forked from auracaster/openocd
httpd: retire this server
this never panned out and there are enough mistakes in the code that probably nobody used this. Use the tcl server and implement a standalone http app instead works fine. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
@@ -42,7 +42,6 @@
|
||||
|
||||
#include <server/server.h>
|
||||
#include <server/gdb_server.h>
|
||||
#include <server/httpd.h>
|
||||
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
@@ -337,9 +336,6 @@ int openocd_main(int argc, char *argv[])
|
||||
if (ret != ERROR_OK)
|
||||
return EXIT_FAILURE;
|
||||
|
||||
if (httpd_start(cmd_ctx) != ERROR_OK)
|
||||
return EXIT_FAILURE;
|
||||
|
||||
ret = server_init(cmd_ctx);
|
||||
if (ERROR_OK != ret)
|
||||
return EXIT_FAILURE;
|
||||
@@ -357,8 +353,6 @@ int openocd_main(int argc, char *argv[])
|
||||
|
||||
server_quit();
|
||||
|
||||
httpd_stop();
|
||||
|
||||
unregister_all_commands(cmd_ctx, NULL);
|
||||
|
||||
/* free commandline interface */
|
||||
|
||||
Reference in New Issue
Block a user