Improvements to increase code coverage:

* Don't include the test code in coverage reports
* Add test code for missing coverage

Other:

* Improve the README.md
* Fix warning in sha1_context
* Tidy up the examples use of namespaces
* Various fixes to documentation and javadocs
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:06 -07:00
1 parent 231988622c
commit 133e7a3b16
49 files changed
+1054 -447

No files matched your search

+6 -2
View File
@@ -149,7 +149,9 @@ write(boost::asio::const_buffer const& buffer, error_code& ec)
case s_req_url_start:
if(ch == ' ')
return err(parse_error::bad_uri);
// VFALCO TODO Require valid URL character
// VFALCO TODO Better checking for valid URL characters
if(! is_text(ch))
return err(parse_error::bad_uri);
if(cb(&self::call_on_uri))
return used();
s_ = s_req_url;
@@ -163,7 +165,9 @@ write(boost::asio::const_buffer const& buffer, error_code& ec)
s_ = s_req_http_start;
break;
}
// VFALCO TODO Require valid URL character
// VFALCO TODO Better checking for valid URL characters
if(! is_text(ch))
return err(parse_error::bad_uri);
break;
case s_req_http_start: