Continued work.
This commit is contained in:
parent
8d971c1545
commit
1e6f988ee9
@ -15,11 +15,13 @@ namespace http {
|
||||
|
||||
switch(mode) {
|
||||
case REQUEST:
|
||||
httpRequest = new HTTPRequest(request1);
|
||||
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);
|
||||
if(request == "") {
|
||||
|
12
HTTPRequest.cpp
Normal file
12
HTTPRequest.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#include "HTTPRequest.h"
|
||||
#include "Exception.h"
|
||||
#include "Log.h"
|
||||
|
||||
namespace http {
|
||||
|
||||
// HTTPRequest::HTTPRequest(coreutils::PString &in) {
|
||||
// request = coreutils::IMFRequest(in);
|
||||
// }
|
||||
|
||||
}
|
||||
|
@ -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
HTTPServer
BIN
HTTPServer
Binary file not shown.
BIN
docs/images/graphical_concept.png
Normal file
BIN
docs/images/graphical_concept.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
BIN
docs/images/transaction_lifecycle.png
Normal file
BIN
docs/images/transaction_lifecycle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
BIN
docs/images/view_component_structure.png
Normal file
BIN
docs/images/view_component_structure.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
main folder.png
Normal file
BIN
main folder.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
Loading…
x
Reference in New Issue
Block a user