aboutsummaryrefslogtreecommitdiff
path: root/src/stable/server.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2023-07-31 16:25:45 -0700
committerMike Buland <eichlan@xagasoft.com>2023-07-31 16:25:45 -0700
commitdcf2e2182934291e7312993c78d3d3c5f72597d5 (patch)
treee837286747714adc49b65932bd16c366e31cb7f8 /src/stable/server.h
parentfc83cb3fa5b15e9fb20a9180a3880297cf398de7 (diff)
downloadlibbu++-dcf2e2182934291e7312993c78d3d3c5f72597d5.tar.gz
libbu++-dcf2e2182934291e7312993c78d3d3c5f72597d5.tar.bz2
libbu++-dcf2e2182934291e7312993c78d3d3c5f72597d5.tar.xz
libbu++-dcf2e2182934291e7312993c78d3d3c5f72597d5.zip
Seems to work.
We have a last ditch effort. It turns out that the SocketTcp class automatically closes sockets when it realizes they're at the end, it doesn't wait for us to call close. That could be a problem, we may need something in between, but at least we can detect it and clean it up.
Diffstat (limited to 'src/stable/server.h')
-rw-r--r--src/stable/server.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stable/server.h b/src/stable/server.h
index a839968..9fb8282 100644
--- a/src/stable/server.h
+++ b/src/stable/server.h
@@ -161,7 +161,6 @@ namespace Bu
161 private: 161 private:
162 void handleRead( Client *pClient, Socket *pSocket ); 162 void handleRead( Client *pClient, Socket *pSocket );
163 void handleWrite( Client *pClient, Socket *pSocket ); 163 void handleWrite( Client *pClient, Socket *pSocket );
164 void close( Socket *pSocket );
165 164
166 private: 165 private:
167 Server &rSrv; 166 Server &rSrv;