* 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:
rakshasa
2007-05-23 14:03:02 +00:00
parent 2db205a89d
commit bebce18368
6 changed files with 84 additions and 21 deletions
+5 -3
View File
@@ -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];
};
}