Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-supervision: Remove dependency to external
[src/app-framework-binder.git]
/
src
/
afb-hreq.c
diff --git
a/src/afb-hreq.c
b/src/afb-hreq.c
index
fa16565
..
54c097e
100644
(file)
--- a/
src/afb-hreq.c
+++ b/
src/afb-hreq.c
@@
-36,6
+36,7
@@
#include "afb-msg-json.h"
#include "afb-context.h"
#include "afb-hreq.h"
#include "afb-msg-json.h"
#include "afb-context.h"
#include "afb-hreq.h"
+#include "afb-hsrv.h"
#include "afb-session.h"
#include "afb-cred.h"
#include "verbose.h"
#include "afb-session.h"
#include "afb-cred.h"
#include "verbose.h"
@@
-168,10
+169,9
@@
static void afb_hreq_reply_v(struct afb_hreq *hreq, unsigned status, struct MHD_
hreq->replied = 1;
if (hreq->suspended != 0) {
hreq->replied = 1;
if (hreq->suspended != 0) {
- extern void run_micro_httpd(struct afb_hsrv *hsrv);
MHD_resume_connection (hreq->connection);
hreq->suspended = 0;
MHD_resume_connection (hreq->connection);
hreq->suspended = 0;
-
run_micro_httpd
(hreq->hsrv);
+
afb_hsrv_run
(hreq->hsrv);
}
}
}
}