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