diff options
author | Mike Buland <eichlan@xagasoft.com> | 2023-07-28 21:18:56 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2023-07-28 21:18:56 -0700 |
commit | 915005e218b5d00939b548de65ce6354f7acb487 (patch) | |
tree | 2f624a37f86f97cfd61c1995df7e4368b462bcac /src/experimental/fastcgi.h | |
parent | e43a2cac32cb773994b11a3d964ec4acc372d273 (diff) | |
download | libbu++-915005e218b5d00939b548de65ce6354f7acb487.tar.gz libbu++-915005e218b5d00939b548de65ce6354f7acb487.tar.bz2 libbu++-915005e218b5d00939b548de65ce6354f7acb487.tar.xz libbu++-915005e218b5d00939b548de65ce6354f7acb487.zip |
Completely redesigned Server and Client.
Like, seriously, they're almost completely different.
Diffstat (limited to '')
-rw-r--r-- | src/experimental/fastcgi.h | 18 |
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 | ||
17 | namespace Bu | 17 | namespace 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 | }; |