Nik Bougalis
9d33e4bd7b
Fix URL compositing in Beast (RIPD-636).
2014-10-16 21:44:36 -04:00
Howard Hinnant
75c8d7aa57
Detab beast
2014-10-15 19:39:30 -04:00
Mark Travis
f034b02b92
Disable SSLv3
2014-10-15 19:37:25 -04:00
Howard Hinnant
96a3a34fa4
Gracefully cast from std: 🧵 :hardware_concurrency
2014-10-14 12:35:17 -04:00
Howard Hinnant
e965b7c0da
Guarantee C locale
...
* Remove all calls to setlocale to ensure that the global
locale is always C.
* Also replace beast::SystemStats::getNumCpus() with
std:🧵 :hardware_concurrency()
2014-10-14 12:35:17 -04:00
Vinnie Falco
7847ac3144
Add pending_handlers
2014-10-10 13:26:08 -07:00
Vinnie Falco
6708311a66
Add missing include in beast header
2014-10-10 13:26:08 -07:00
Tom Ritchford
af7f0b5074
Fix compiler warnings under gcc.
2014-10-01 08:47:55 -07:00
Nik Bougalis
78dfb6bcf5
Allow beast::lexicalCast to parse 'true' & 'false' into a bool
2014-10-01 08:47:54 -07:00
Nik Bougalis
4640079f55
Use namespaces instead of static-only classes
2014-10-01 08:47:52 -07:00
Nik Bougalis
60330da25c
Use deleted members to prevent copying in Beast (RIPD-268)
2014-10-01 08:47:52 -07:00
Vinnie Falco
cd97b5beec
Remove obsolete SharedArg
2014-09-29 07:18:51 -07:00
Nik Bougalis
30eb927ad4
Templetize and improve beast string-to-integer conversions:
...
* Properly handle numbers at the edge of precision
* Improve and expand unit test coverage
2014-09-18 12:46:16 -07:00
Vinnie Falco
579b1e6f79
Add missing includes and tidy up
2014-09-16 14:03:50 -07:00
Howard Hinnant
b5384cc964
Fix beast::http::headers move members
2014-09-15 16:03:36 -07:00
Vinnie Falco
146d706343
Add base64 conversions and tests
2014-09-15 14:52:42 -07:00
Vinnie Falco
b69ecfe75c
Use transform_iterator in http::headers
2014-09-15 14:52:42 -07:00
Vinnie Falco
02d834e9bb
Add is_short_read()
2014-09-12 14:10:33 -07:00
Nik Bougalis
e4ecc762c6
Refactor string-to-integer conversions
2014-09-09 21:38:09 -07:00
Nik Bougalis
4f0a20ec68
Handle whitespace separating an 'ip port' correctly (RIPD-552)
2014-09-04 12:26:27 -07:00
Vinnie Falco
b12676f701
Fix special members for http classes
2014-08-28 12:38:03 -07:00
Vinnie Falco
b968821cc1
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
2014-08-27 18:06:30 -04:00
Edward Hennis
d81154bf6c
Add enable_if_lvalue
2014-08-27 17:10:24 -04:00
Vinnie Falco
83add658f9
Fix warnings and compile errors
2014-08-20 17:44:00 -07:00
Scott Schurr
cb0e91c602
Use aged containers in Validators module (RIPD-349)
2014-08-20 16:09:51 -07:00
Vinnie Falco
97d87dff09
Fix exception safety in aged containers
2014-08-20 16:09:50 -07:00
Howard Hinnant
fe9d77734f
Fix move constructor of aged_unordered_container (RIPD-490)
2014-08-20 16:08:59 -07:00
Nik Bougalis
0857c6350d
Refactor beast::SemanticVersion (RIPD-199)
2014-08-08 14:57:39 -07:00
Vinnie Falco
bf403a6142
Fix missing return values in headers_t
2014-08-05 16:43:13 -07:00
Vinnie Falco
5b8bb822ba
HTTP support improvements:
...
* RFC2616 compliance
* Case insensitive equality, inequality operators for strings
* Improvements to http::parser
* Tidy up HTTP method enumeration
2014-08-05 13:17:01 -07:00
Scott Schurr
df32f27762
Improvements to aged_containers (RIPD-363)
...
- Added unit tests for element erase
- Added unit tests for range erase
- Added unit tests for touch
- Added unit tests for iterators and reverse_iterators
- Un-inlined operator== for unordered containers
- Fixed minor problems with ordered_container erase()
- Made ordered_container...
- erase (reverse_iterator pos) not compile
- erase (reverse_iterator first, reverse_iterator last) not compile
- touch (reverse iterator pos) not compile
- Verified that ordered container...
- insert() already rejects reverse_iterator
- emplace_hint() already rejects reverse_iterator
- Made set/multiset iterators const
Regarding the set/multiset iterators, see section 1.5 of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2913.pdf
as pointed out by Vinnie.
2014-08-04 15:25:30 -07:00
Howard Hinnant
6a1071ccd3
Tidy up hardened_hash:
...
* Added siphash as a HashAlgorithm
* Refactored class responsibilities
2014-07-28 09:06:22 -07:00
Vinnie Falco
11d667c830
Fix intrinsic calls in static_initializer
2014-07-28 09:04:41 -07:00
Vinnie Falco
cc11b498cc
Add HTTPHeaders::build_map
2014-07-24 20:18:51 -07:00
Vinnie Falco
ca71f18a6d
Make bind_handler variadic ctor explicit
2014-07-24 20:18:51 -07:00
Tom Ritchford
6b79b5fc74
Fix build warnings and .gitignore.
...
* Comment out unused local function for both clang and g++.
* Get rid of numerous Boost warnings for clang.
* Remove some unused local variables.
* Put TAGS into the .gitignore.
2014-07-24 20:18:51 -07:00
Miguel Portilla
df24ae0fbb
Workaround gcc bug with static_initializer default ctor
2014-07-17 18:00:43 -07:00
Vinnie Falco
b74cdb2f9d
Fix static_initializer: …
...
* Prevents double construction, invalid access
* Unit test works on MSVC and non MSVC
2014-07-16 16:43:17 -07:00
Vinnie Falco
bb730c00e9
Support stream composition of testcase names
2014-07-15 18:23:01 -07:00
Tom Ritchford
fd27bcd7ee
Various tidying:
...
* Fix unused variable warnings.
* Clean unused items from TER.
* Improvement to LES use of shared_ptr.
2014-07-10 15:11:33 -07:00
Howard Hinnant
f5eb22253d
Remove boost::hash_value() overloads.
...
This addresses https://ripplelabs.atlassian.net/browse/RIPD-102
2014-07-02 15:33:11 -07:00
Vinnie Falco
0c5c901222
Improvements to HTTP parsing
2014-06-26 17:41:12 -07:00
Miguel Portilla
0a93f8db22
Add ASIO strand to StatsDCollector
2014-06-26 12:03:51 -07:00
Howard Hinnant
7b4c705a3f
Improve Journal logging framework:
...
* Allow partition log levels to be adjusted
* Cleanups
2014-06-23 20:19:53 -07:00
Vinnie Falco
94dea7c06f
Add missing beast includes
2014-06-18 14:07:18 -07:00
Vinnie Falco
9d819b95bf
Fix MSVC workaround in basic_seconds_clock
2014-06-16 16:18:09 -07:00
Vinnie Falco
d26dadd9d8
Add static_initializer
2014-06-16 16:18:09 -07:00
Vinnie Falco
55ca9fb090
Remove ScopedPointer, ContainerDeletePolicy
2014-06-15 18:35:12 -07:00
Vinnie Falco
58ec5d5afe
Tidy up includes:
...
* Replace boost with std equivalents:
- bind, ref, cref, function, placeholders
* More "include what you use"
* Remove unnecessary includes
2014-06-15 18:26:50 -07:00
Vinnie Falco
c00a976ff6
Add missing beast includes
2014-06-15 12:37:52 -07:00