summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inspsocket.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index f06ddf28d..65b554006 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -120,6 +120,8 @@ void StreamSocket::Close()
{
if (this->fd > -1)
{
+ // final chance, dump as much of the sendq as we can
+ DoWrite();
if (IOHook)
{
try