summaryrefslogtreecommitdiffhomepage
path: root/plugins/fcgi/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fcgi/socket.h')
-rw-r--r--plugins/fcgi/socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/fcgi/socket.h b/plugins/fcgi/socket.h
index 8fb5610..272b844 100644
--- a/plugins/fcgi/socket.h
+++ b/plugins/fcgi/socket.h
@@ -15,6 +15,12 @@ public:
fcgi_eof_error(const std::string& what_arg): std::runtime_error(what_arg) {}
};
+class fcgi_broken_pipe_error: public std::runtime_error
+{
+public:
+ fcgi_broken_pipe_error(const std::string& what_arg): std::runtime_error(what_arg) {}
+};
+
class Socket
{
std::mutex m_mutex; // guard socket use in different threads