mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 06:32:31 +00:00
* Proper fault handling for bad SCGI requests.
* Cleaned up duplicate code in 'xmlrpc.cc'. * Cleaned up 'parse_commands.h'. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@966 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-1
@@ -62,6 +62,7 @@ public:
|
||||
static const int dialect_i8 = 1;
|
||||
static const int dialect_apache = 2;
|
||||
|
||||
// These need to match CommandMap type values.
|
||||
static const int call_generic = 0;
|
||||
static const int call_download = 1;
|
||||
static const int call_file = 2;
|
||||
@@ -76,7 +77,7 @@ public:
|
||||
|
||||
bool process(const char* inBuffer, uint32_t length, slot_write slotWrite);
|
||||
|
||||
void insert_command(const char* name, const char* parm, const char* doc, int call);
|
||||
void insert_command(const char* name, const char* parm, const char* doc);
|
||||
|
||||
int dialect() { return m_dialect; }
|
||||
void set_dialect(int dialect);
|
||||
|
||||
Reference in New Issue
Block a user