20 lines
247 B
C++
20 lines
247 B
C++
#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_;
|
|
};
|