26 Commits

Author SHA1 Message Date
Peter Thorson
2c3d714a9e [improvement] Improve error handling options for get_connection and start_accept. Update docs. fixes #896 2020-08-07 08:36:20 -05:00
Peter Thorson
d9f48e734d [core/http] Many updates to remove or isolate the use of exceptions. Update bundled HTTP library to remove the use of exceptions for error handling. All exceptions have been replaced with the error_codes used by the rest of the library either returned or as an output parameter. Documentation has been updated to note when this has happened. The main library interface has been updated to ensure that all functions that can throw are labeled as such and have a non-throwing overload. Nothing has been removed from the main library interface so anyone who uses exception handling with the main library is unaffected. These changes are being done in preparation for adding options to build WebSocket++ on platforms with exceptions disabled. references #438 #908 2020-06-27 17:51:46 -05:00
Gianfranco Costamagna
5c48a114f4 Fix testsuite errors, due to a "Connection: upgrade" seen differently than "Connection: Upgrade" 2018-07-12 19:10:02 +02:00
Gregor Jasny
89df55c577 Register tests to CTest 2016-01-05 09:51:15 +01:00
vladon
cd4af122c0 avoid unnecessary empty strings ("") in favor of clear() and empty() (performance) 2015-09-29 21:36:41 +03:00
Peter Thorson
ef380f7fff Add CMake build support for examples and tests, zlib dependencies 2015-07-29 08:57:56 -04:00
Thijs Wenker
d3fe51fa39 Added missing CMake files, organized the CMake structure between test and example directories using the global variable USE_FOLDERS 2015-07-16 12:17:59 +02:00
Peter Thorson
4100fc3ce7 normalize copyright dates and prep release version 2014-11-04 07:31:24 -05:00
Peter Thorson
6c242b205b detab entire project references #376 2014-10-06 18:33:55 -04:00
Peter Thorson
a63f7d8b7b switch all exceptions to be of type websocketpp::exception 2014-03-06 19:35:25 -06:00
Peter Thorson
c017331959 remove trailing whitespace 2013-07-21 07:49:15 -05:00
Peter Thorson
b866e4e0ca Refactors URI to be exception and regex free 2013-07-09 16:50:47 -05:00
Peter Thorson
88c553f1fc silence unit tests 2013-06-08 18:32:23 -05:00
breyed
808a8ce0a9 fixed spelling, including "experimental" in API 2013-06-08 11:03:11 -05:00
Peter Thorson
1e97e3dcf5 adds connection client methods for adding subprotocols to the handshake request 2013-04-07 12:18:03 -05:00
Peter Thorson
17fcb3f8be adds subprotocol selection to connection 2013-04-06 11:09:41 -05:00
Peter Thorson
6d1b956aff adds preliminary server side subprotocol negotiation 2013-04-05 21:10:19 -05:00
Peter Thorson
10db03d710 more work on subprotocol tests 2013-04-05 09:30:15 -05:00
Peter Thorson
9f0649cb91 adds integration tests for the server role 2013-04-05 08:29:17 -05:00
Peter Thorson
13ec782a4f lots of tests 2013-03-31 12:37:59 -05:00
Peter Thorson
46fb7e6645 adds more logic for reading client handshake responses 2013-03-30 22:41:57 -05:00
Peter Thorson
ddddef5444 updates to unit tests to support new connection and processor api that includes RNG 2013-03-30 20:12:37 -05:00
Peter Thorson
67c740e264 adds HTTP request sending to connections 2013-03-30 19:55:40 -05:00
Peter Thorson
1ddd43ccb0 client get_connection now sets URI 2013-03-30 07:05:31 -05:00
Peter Thorson
afd5646ca5 adds more client functionality and associated tests 2013-03-28 22:58:54 -05:00
Peter Thorson
e54c890b4b adds role unit test modules 2013-03-28 22:41:51 -05:00