]> git.saurik.com Git - apt.git/blame_incremental - methods/http_main.cc
prepare 1.0.1 release
[apt.git] / methods / http_main.cc
... / ...
CommitLineData
1#include <config.h>
2
3#include <signal.h>
4
5#include "http.h"
6
7int 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}