Files
mirall/fastcgi_conn.h

20 lines
247 B
C
Raw Normal View History

2019-04-28 00:17:32 +00:00
#pragma once
#include "buffer.h"
struct sockaddr_in6;
class FastCGIConn {
public:
FastCGIConn(int sock, const sockaddr_in6& client_addr);
~FastCGIConn();
void Serve();
private:
void ParseBuf();
const int sock_;
Buffer buf_;
};