]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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 2821b21ca8b96bc4e0d596689473d6e7e7bfcf7d..bd6c0257e432161c3d468505ec275638c70f010e 100644 (file)
@@ -28,9 +28,6 @@
 #include "sched.h"
 #include "vss.h"
 #include "fd.h"
 #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;
 
 
 static struct sender_status dccp_sender_status, *dss = &dccp_sender_status;
 
index 6f06673ce5aabc64728980ddfed259a65d417d53..fb9fd9b3d1b42a1f3841ef88e261178e66efc302 100644 (file)
 #include "send.h"
 #include "sched.h"
 #include "vss.h"
 #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 "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"
 
 /** Message sent to clients that do not send a valid get request. */
 #define HTTP_ERR_MSG "HTTP/1.0 400 Bad Request\n"