* 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:
rakshasa
2007-05-23 21:47:11 +00:00
parent bebce18368
commit 13dc0c942a
6 changed files with 52 additions and 26 deletions
+3 -3
View File
@@ -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];