summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/inspsocket.h6
-rw-r--r--src/inspsocket.cpp1
2 files changed, 0 insertions, 7 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h
index c3b24ad8f..f945c4f9d 100644
--- a/include/inspsocket.h
+++ b/include/inspsocket.h
@@ -140,12 +140,6 @@ class CoreExport BufferedSocket : public EventHandler
BufferedSocketState state;
/**
- * This value is true if the
- * socket has timed out.
- */
- bool timeout;
-
- /**
* The IP address being connected
* to stored in string form for
* easy retrieval by accessors.
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 1a88afaca..f3917bba0 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -504,7 +504,6 @@ void SocketTimeout::Tick(time_t)
// connection.
this->sock->OnTimeout();
this->sock->OnError(I_ERR_TIMEOUT);
- this->sock->timeout = true;
/* NOTE: We must set this AFTER DelFd, as we added
* this socket whilst writeable. This means that we