From 915005e218b5d00939b548de65ce6354f7acb487 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 28 Jul 2023 21:18:56 -0700 Subject: Completely redesigned Server and Client. Like, seriously, they're almost completely different. --- src/experimental/fastcgi.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/experimental/fastcgi.h') 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 @@ #include "bu/string.h" #include "bu/hash.h" #include "bu/array.h" -#include "bu/tcpsocket.h" -#include "bu/tcpserversocket.h" +#include "bu/sockettcp.h" +#include "bu/serversockettcp.h" namespace Bu { @@ -111,18 +111,18 @@ namespace Bu virtual void onUninit() { }; private: - void read( Bu::TcpSocket &s, Record &r ); - void read( Bu::TcpSocket &s, BeginRequestBody &b ); - uint32_t readLen( Bu::TcpSocket &s, uint16_t &uUsed ); - void readPair( Bu::TcpSocket &s, StrHash &hParams, uint16_t &uUsed ); + void read( Bu::Socket *pSock, Record &r ); + void read( Bu::Socket *pSock, BeginRequestBody &b ); + uint32_t readLen( Bu::Socket *pSock, uint16_t &uUsed ); + void readPair( Bu::Socket *pSock, StrHash &hParams, uint16_t &uUsed ); - void write( Bu::TcpSocket &s, Record r ); - void write( Bu::TcpSocket &s, EndRequestBody b ); + void write( Bu::Socket *pSock, Record r ); + void write( Bu::Socket *pSock, EndRequestBody b ); bool hasChannel( int iChan ); private: - Bu::TcpServerSocket *pSrv; + Bu::ServerSocket *pSrv; bool bRunning; Bu::Array aChannel; }; -- cgit v1.2.3