Remove some unused includes from {dccp,http}_send.c.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 16 Nov 2017 01:41:31 +0000 (02:41 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 13 Mar 2018 02:28:56 +0000 (03:28 +0100)
The access control and close on fork lists are handled in send_common.c,
so the two senders do not need to know anything about them.

The dccp sender does not perform chunk queuing, so it does not need to
include chunk_queue.h.

dccp_send.c
http_send.c

index 2821b21..bd6c025 100644 (file)
@@ -28,9 +28,6 @@
 #include "sched.h"
 #include "vss.h"
 #include "fd.h"
-#include "close_on_fork.h"
-#include "chunk_queue.h"
-#include "acl.h"
 
 static struct sender_status dccp_sender_status, *dss = &dccp_sender_status;
 
index 6f06673..fb9fd9b 100644 (file)
 #include "send.h"
 #include "sched.h"
 #include "vss.h"
-#include "close_on_fork.h"
 #include "net.h"
 #include "fd.h"
 #include "chunk_queue.h"
-#include "acl.h"
 
 /** Message sent to clients that do not send a valid get request. */
 #define HTTP_ERR_MSG "HTTP/1.0 400 Bad Request\n"