Lots of file splits

This commit is contained in:
Ian Gulliver
2019-04-28 00:17:32 +00:00
parent 731da3c769
commit 8a2a19ac37
9 changed files with 298 additions and 32 deletions

19
fastcgi_conn.h Normal file
View File

@@ -0,0 +1,19 @@
#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_;
};