]> git.saurik.com Git - apt.git/blame - methods/http_main.cc
Merge remote-tracking branch 'mvo/feature/more-fancy-progress' into debian/sid
[apt.git] / methods / http_main.cc
CommitLineData
ea542140
DK
1#include <config.h>
2
217d575b 3#include <signal.h>
5f6b130d 4
5f6b130d
MV
5#include "http.h"
6
5f6b130d
MV
7int main()
8{
9 setlocale(LC_ALL, "");
10
217d575b
MV
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
5f6b130d
MV
15 HttpMethod Mth;
16 return Mth.Loop();
17}