2 #include <apt-pkg/fileutl.h>
3 #include <apt-pkg/error.h>
10 // ignore SIGPIPE, this can happen on write() if the socket
11 // closes the connection (this is dealt with via ServerDie())
12 signal(SIGPIPE
, SIG_IGN
);
14 return HttpMethod().Loop();