summaryrefslogtreecommitdiffhomepage
path: root/plugins/fcgi/fcgi.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-05-02 22:23:11 +0200
committerRoland Reichwein <mail@reichwein.it>2020-05-02 22:23:11 +0200
commit5f39c4bcd3ea85ce6a30446d23ccae0542bfbdaf (patch)
tree44ba3d16510b1ab775a7a3ada912ce045ee6c578 /plugins/fcgi/fcgi.h
parent17433b0cbcacc3f41fd500551baf4d52d291e0c9 (diff)
Fix FCGI with KEEP TCP open
Diffstat (limited to 'plugins/fcgi/fcgi.h')
-rw-r--r--plugins/fcgi/fcgi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/fcgi/fcgi.h b/plugins/fcgi/fcgi.h
index 164fecb..22d7fba 100644
--- a/plugins/fcgi/fcgi.h
+++ b/plugins/fcgi/fcgi.h
@@ -2,6 +2,8 @@
#include "../../plugin_interface.h"
+#include <boost/asio.hpp>
+
#include <set>
#include <cstdint>
@@ -55,6 +57,9 @@ struct FCGIContext;
class fcgi_plugin: public webserver_plugin_interface
{
FCGI_ID m_fcgi_id;
+ boost::asio::io_context m_io_context;
+ boost::asio::ip::tcp::resolver m_resolver;
+ boost::asio::ip::tcp::socket m_socket;
public:
fcgi_plugin();