summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7cff238)
It's better to let the client reconnect than to send a stream it did not
expect. Clean up a superfluous return statement.
}
list_del(&hc->node);
free(hc);
}
list_del(&hc->node);
free(hc);
}
static void http_shutdown_clients_real(void)
}
static void http_shutdown_clients_real(void)
{
struct http_client *hc, *tmp;
list_for_each_entry_safe(hc, tmp, &clients, node)
{
struct http_client *hc, *tmp;
list_for_each_entry_safe(hc, tmp, &clients, node)
- if (hc->status == HTTP_STREAMING)
- http_shutdown_client(hc, "afs request");
+ http_shutdown_client(hc, "afs request");
}
static int http_send_msg(struct http_client *hc, const char *msg)
}
static int http_send_msg(struct http_client *hc, const char *msg)