]> git.saurik.com Git - apt.git/blame - methods/http_main.cc
allow arch=all to override No-Support-for-Architecture-all
[apt.git] / methods / http_main.cc
CommitLineData
ea542140 1#include <config.h>
3927c6da 2#include <apt-pkg/fileutl.h>
47d278dc 3#include <apt-pkg/error.h>
217d575b 4#include <signal.h>
5f6b130d 5
5f6b130d
MV
6#include "http.h"
7
5f6b130d
MV
8int main()
9{
217d575b
MV
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);
13
8b79c94a 14 return HttpMethod().Loop();
5f6b130d 15}