Cleanup of #127: using standalone asio.
This commit is contained in:
parent
46536c394b
commit
ec63c4345e
8 changed files with 238 additions and 265 deletions
|
|
@ -106,7 +106,7 @@ public:
|
|||
|
||||
int main() {
|
||||
ServerTest serverTest;
|
||||
serverTest.io_service=std::make_shared<boost::asio::io_service>();
|
||||
serverTest.io_service=std::make_shared<asio::io_service>();
|
||||
|
||||
serverTest.parse_request_test();
|
||||
|
||||
|
|
@ -119,8 +119,8 @@ int main() {
|
|||
clientTest2.parse_response_header_test();
|
||||
|
||||
|
||||
boost::asio::io_service io_service;
|
||||
boost::asio::ip::tcp::socket socket(io_service);
|
||||
asio::io_service io_service;
|
||||
asio::ip::tcp::socket socket(io_service);
|
||||
SimpleWeb::Server<HTTP>::Request request(socket);
|
||||
{
|
||||
request.path = "/?";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue