mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-06 22:29:23 +00:00
* Allow binding of the SCGI socket to a specific address, and added
"scgi_dont_route" variable. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@908 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+3
-3
@@ -59,9 +59,7 @@ public:
|
||||
SCgi() {}
|
||||
virtual ~SCgi();
|
||||
|
||||
void open(void* sa, unsigned int length);
|
||||
|
||||
void open_port(uint16_t port);
|
||||
void open_port(void* sa, unsigned int length, bool dontRoute);
|
||||
void open_named(const std::string& filename);
|
||||
|
||||
const std::string path() const { return m_path; }
|
||||
@@ -77,6 +75,8 @@ 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[max_tasks];
|
||||
|
||||
Reference in New Issue
Block a user