]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - http_send.c
server: Free parse result also in afs.
[paraslash.git] / http_send.c
index fb9fd9b3d1b42a1f3841ef88e261178e66efc302..9a35fc99f920beed52e19c12bab9f9dc308027e4 100644 (file)
@@ -75,6 +75,12 @@ static void http_shutdown_clients(void)
        shutdown_clients(hss);
 }
 
+static void http_shutdown(void)
+{
+       http_shutdown_clients();
+       generic_acl_deplete(&hss->acl);
+}
+
 static int queue_chunk_or_shutdown(struct sender_client *sc,
                struct sender_status *ss, const char *buf, size_t num_bytes)
 {
@@ -264,7 +270,7 @@ static void http_send_init(void)
 const struct sender http_sender = {
        .name = "http",
        .init = http_send_init,
-       .shutdown = http_shutdown_clients,
+       .shutdown = http_shutdown,
        .pre_select = http_pre_select,
        .post_select = http_post_select,
        .send = http_send,