diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-05-21 18:00:25 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-05-21 18:00:25 +0200 |
commit | 4b34a4d950f762b5d020d5ac4d3354836833039c (patch) | |
tree | 6753cadbc2d4d956d18b045207278562bc9a56ee /plugins/fcgi/socket.h | |
parent | 72a0f20c07ecf321a4d15f5afe8938eb2b509668 (diff) |
FCGI: Fix connection handling on broken pipe: Reopen new socket
Diffstat (limited to 'plugins/fcgi/socket.h')
-rw-r--r-- | plugins/fcgi/socket.h | 6 |
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 |