Continued work.
This commit is contained in:
1 parent
8d971c1545
commit
1e6f988ee9
8 files changed
+16
-3
No files matched your search
+3
-1
@@ -15,10 +15,12 @@ namespace http {
|
||||
|
||||
switch(mode) {
|
||||
case REQUEST:
|
||||
coreutils::Log(coreutils::LOG_DEBUG_2) << "Processing request data... '" << request1.str() << "'";
|
||||
|
||||
httpRequest = new HTTPRequest(request1);
|
||||
|
||||
session->server.commands.grabInput(session, *this);
|
||||
mode = IMF;
|
||||
break;
|
||||
|
||||
case IMF:
|
||||
httpRequest->parse(request1);
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
#include "HTTPRequest.h"
|
||||
#include "Exception.h"
|
||||
#include "Log.h"
|
||||
|
||||
namespace http {
|
||||
|
||||
// HTTPRequest::HTTPRequest(coreutils::PString &in) {
|
||||
// request = coreutils::IMFRequest(in);
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
+1
-2
@@ -17,8 +17,7 @@ namespace http {
|
||||
message = new IMFMessage(in);
|
||||
}
|
||||
bool parse(coreutils::PString &in) {
|
||||
message->parse(in);
|
||||
return true;
|
||||
return message->parse(in);
|
||||
}
|
||||
|
||||
coreutils::IMFRequest *request;
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
Reference in new issue
Block a user