aboutsummaryrefslogtreecommitdiff
path: root/src/experimental/fastcgi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/experimental/fastcgi.h')
-rw-r--r--src/experimental/fastcgi.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/experimental/fastcgi.h b/src/experimental/fastcgi.h
index 081156e..693ff82 100644
--- a/src/experimental/fastcgi.h
+++ b/src/experimental/fastcgi.h
@@ -11,8 +11,8 @@
11#include "bu/string.h" 11#include "bu/string.h"
12#include "bu/hash.h" 12#include "bu/hash.h"
13#include "bu/array.h" 13#include "bu/array.h"
14#include "bu/tcpsocket.h" 14#include "bu/sockettcp.h"
15#include "bu/tcpserversocket.h" 15#include "bu/serversockettcp.h"
16 16
17namespace Bu 17namespace Bu
18{ 18{
@@ -111,18 +111,18 @@ namespace Bu
111 virtual void onUninit() { }; 111 virtual void onUninit() { };
112 112
113 private: 113 private:
114 void read( Bu::TcpSocket &s, Record &r ); 114 void read( Bu::Socket *pSock, Record &r );
115 void read( Bu::TcpSocket &s, BeginRequestBody &b ); 115 void read( Bu::Socket *pSock, BeginRequestBody &b );
116 uint32_t readLen( Bu::TcpSocket &s, uint16_t &uUsed ); 116 uint32_t readLen( Bu::Socket *pSock, uint16_t &uUsed );
117 void readPair( Bu::TcpSocket &s, StrHash &hParams, uint16_t &uUsed ); 117 void readPair( Bu::Socket *pSock, StrHash &hParams, uint16_t &uUsed );
118 118
119 void write( Bu::TcpSocket &s, Record r ); 119 void write( Bu::Socket *pSock, Record r );
120 void write( Bu::TcpSocket &s, EndRequestBody b ); 120 void write( Bu::Socket *pSock, EndRequestBody b );
121 121
122 bool hasChannel( int iChan ); 122 bool hasChannel( int iChan );
123 123
124 private: 124 private:
125 Bu::TcpServerSocket *pSrv; 125 Bu::ServerSocket *pSrv;
126 bool bRunning; 126 bool bRunning;
127 Bu::Array<Channel *> aChannel; 127 Bu::Array<Channel *> aChannel;
128 }; 128 };