]> git.saurik.com Git - apt.git/blame_incremental - methods/http_main.cc
if reading of autobit state failed, let write fail
[apt.git] / methods / http_main.cc
... / ...
CommitLineData
1#include <config.h>
2#include <apt-pkg/fileutl.h>
3#include <apt-pkg/error.h>
4#include <signal.h>
5
6#include "http.h"
7
8int main()
9{
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
14 return HttpMethod().Loop();
15}