mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
HTTP message and parser improvements:
* streambuf wrapper supports rvalue move * message class holds a complete HTTP message * body class holds the HTTP content body * headers class holds RFC-compliant HTTP headers * basic_parser provides class interface to joyent's http-parser * parser class parses into a message object * Remove unused http get client free function * unit test for parsing malformed messages
This commit is contained in:
committed by
Tom Ritchford
parent
d81154bf6c
commit
b968821cc1
@@ -28,7 +28,6 @@
|
||||
|
||||
#include <beast/http/tests/urls_large_data.h>
|
||||
#include <beast/http/client_session.h>
|
||||
#include <beast/http/get.h>
|
||||
#include <beast/asio/bind_handler.h>
|
||||
#include <beast/asio/memory_buffer.h>
|
||||
#include <beast/utility/ci_char_traits.h>
|
||||
@@ -365,14 +364,8 @@ std::advance (last, 3000);
|
||||
test_concurrent_get (std::begin (sequence), last);
|
||||
}
|
||||
|
||||
void test_get()
|
||||
{
|
||||
get ("http://www.google.com");
|
||||
}
|
||||
|
||||
void run()
|
||||
{
|
||||
//test_get();
|
||||
test_concurrent_get (urls_large_data());
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user