Continued work.

This commit is contained in:
barant committed 2020-03-03 15:46:24 -08:00
1 parent 4286a7b449
commit 947eef21e2
12 files changed
+323 -95

No files matched your search

+4
View File
@@ -1,5 +1,6 @@
#include "IMFRequest.h"
#include "Exception.h"
#include "Log.h"
namespace coreutils {
@@ -13,6 +14,9 @@ namespace coreutils {
if(!in.ifNext(" "))
throw coreutils::Exception("Expecting space after URI.");
protocol = in.getTokenExclude("\r\n");
coreutils::Log(coreutils::LOG_DEBUG_4) << "[" << in.str() << "]";
if(!in.ifNext("\r\n"))
throw coreutils::Exception("Expecting CRLF after protocol.");
}