Cleanup of parse_request and connection close support
This commit is contained in:
parent
b841331023
commit
931ff3dba2
2 changed files with 26 additions and 24 deletions
|
|
@ -21,7 +21,8 @@ public:
|
|||
ss << "TestHeader2:test2\r\n";
|
||||
ss << "\r\n";
|
||||
|
||||
parse_request(request, ss);
|
||||
if(!parse_request(request, ss))
|
||||
return 0;
|
||||
|
||||
if(request->method!="GET")
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue