Files
mirall/fastcgi_conn_afl.cc
2019-05-04 19:00:16 -07:00

17 lines
365 B
C++

#include "fastcgi_conn.h"
int main(int argc, char* argv[]) {
setenv("GLOG_logtostderr", "1", true);
google::InitGoogleLogging(argv[0]);
{
FastCGIConn conn(STDIN_FILENO, {}, [](std::unique_ptr<FastCGIRequest> req) { req->End(); }, {});
static_cast<void>(conn.Read());
}
gflags::ShutDownCommandLineFlags();
google::ShutdownGoogleLogging();
return 0;
}