mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-31 13:00:49 +00:00
Remove c->is_resp, keep it private to http.c
This commit is contained in:
1 parent
bba5a0ca3a
commit
71e0176944
9 files changed
+32
-42
No files matched your search
+1
-1
@@ -603,7 +603,7 @@ void mg_dash_ev_handler(struct mg_connection *c, int ev, void *ev_data) {
|
||||
// The response has been send in EV_HDRS path, so we're not reponding
|
||||
// anything but clearing the marker for the next request.
|
||||
d->marker = 0;
|
||||
c->is_resp = 0;
|
||||
c->pfn_data = NULL; // Response done
|
||||
} else if (ev == MG_EV_HTTP_MSG && d->marker == '\0') {
|
||||
struct mg_http_message *hm = (struct mg_http_message *) ev_data;
|
||||
struct mg_dash_user *u = mg_dash_authenticate(c, hm, dash);
|
||||
|
||||
Reference in new issue
Block a user