mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 14:49:21 +00:00
* Added "http_ca{path/cert}" options. Patch by Johan Gunnarsson,
public domain. * Minor bugfixes to SCgi. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@907 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+5
-3
@@ -54,9 +54,13 @@ public:
|
||||
typedef rak::function2<bool, const char*, uint32_t> slot_write;
|
||||
typedef rak::function3<bool, const char*, uint32_t, slot_write> slot_process;
|
||||
|
||||
static const int max_tasks = 10;
|
||||
|
||||
SCgi() {}
|
||||
virtual ~SCgi();
|
||||
|
||||
void open(void* sa, unsigned int length);
|
||||
|
||||
void open_port(uint16_t port);
|
||||
void open_named(const std::string& filename);
|
||||
|
||||
@@ -73,11 +77,9 @@ 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];
|
||||
SCgiTask m_task[max_tasks];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user