diff --git a/src/core/curl_socket.h b/src/core/curl_socket.h index eef06972..fef4bff8 100644 --- a/src/core/curl_socket.h +++ b/src/core/curl_socket.h @@ -50,6 +50,8 @@ public: CurlSocket(int fd, CurlStack* stack) : m_stack(stack) { m_fileDesc = fd; } ~CurlSocket(); + const char* type_name() const { return "curl"; } + void close(); static int receive_socket(void* easy_handle, curl_socket_t fd, int what, void* userp, void* socketp); @@ -62,7 +64,7 @@ private: virtual void event_write(); virtual void event_error(); - CurlStack* m_stack; + CurlStack* m_stack; }; } diff --git a/src/rpc/scgi.h b/src/rpc/scgi.h index 3d0cf251..ac6e0c4c 100644 --- a/src/rpc/scgi.h +++ b/src/rpc/scgi.h @@ -59,6 +59,8 @@ public: SCgi() : m_logFd(-1) {} virtual ~SCgi(); + const char* type_name() const { return "scgi"; } + void open_port(void* sa, unsigned int length, bool dontRoute); void open_named(const std::string& filename);