mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 06:02:31 +00:00
* Added support for named pipes and proper parseing of arguments for
SCGI. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@906 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+4
-3
@@ -57,7 +57,8 @@ public:
|
||||
SCgi() {}
|
||||
virtual ~SCgi();
|
||||
|
||||
bool open(uint16_t port);
|
||||
void open_port(uint16_t port);
|
||||
void open_named(const std::string& filename);
|
||||
|
||||
const std::string path() const { return m_path; }
|
||||
|
||||
@@ -72,10 +73,10 @@ public:
|
||||
utils::SocketFd& get_fd() { return *reinterpret_cast<utils::SocketFd*>(&m_fileDesc); }
|
||||
|
||||
private:
|
||||
void open(void* sa, unsigned int length);
|
||||
|
||||
std::string m_path;
|
||||
|
||||
slot_process m_slotProcess;
|
||||
|
||||
SCgiTask m_task[10];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user