]> git.saurik.com Git - apt.git/blob - methods/http_main.cc
Merge branch 'debian/sid' into debian/experimental
[apt.git] / methods / http_main.cc
1 #include <config.h>
2
3 #include <signal.h>
4
5 #include "http.h"
6
7 int main()
8 {
9 setlocale(LC_ALL, "");
10
11 // ignore SIGPIPE, this can happen on write() if the socket
12 // closes the connection (this is dealt with via ServerDie())
13 signal(SIGPIPE, SIG_IGN);
14
15 HttpMethod Mth;
16 return Mth.Loop();
17 }