34 Commits

Author SHA1 Message Date
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
22918a3992 Merge branch 'permessage-deflate' into develop
Conflicts:
	Doxyfile
	examples/utility_client/CMakeLists.txt
	websocketpp/version.hpp
2015-07-29 09:12:21 -04: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
4d1693c96c Merge branch 'master' into permessage-deflate
Conflicts:
	examples/print_server/print_server.cpp
	websocketpp/extensions/permessage_deflate/enabled.hpp
2015-01-20 06:51:06 -05: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
7f7e9d2c2c update interface and unit tests for new permessage-deflate parameter names 2014-03-26 07:19:35 -05:00
Peter Thorson
ba6320ba1c Add maximum message size functionality to processors 2014-02-10 08:38:54 -06:00
Peter Thorson
c017331959 remove trailing whitespace 2013-07-21 07:49:15 -05:00
Peter Thorson
b8af39fd82 formatting 2013-07-13 13:29:10 -05:00
Peter Thorson
b866e4e0ca Refactors URI to be exception and regex free 2013-07-09 16:50:47 -05:00
Peter Thorson
cdaf57cf7d update copyright date 2013-07-09 16:45:10 -05:00
Peter Thorson
2d49035a6d remove deprecated constants 2013-07-09 16:44:29 -05:00
Peter Thorson
6bd1bfd4f2 add basic compression/decompression implimentation 2013-07-03 06:19:08 -05:00
Peter Thorson
7454bf68f6 re-enable permessage_deflate test 2013-06-30 19:46:29 -05:00
Peter Thorson
743cd7a713 HTTP cleanup and documentation 2013-06-25 20:57:30 -05:00
Peter Thorson
1f194ea327 hybi00 unit test bugfix 2013-04-26 08:54:58 -05:00
Peter Thorson
b4c2bfd13a adds hybi00 frame read code + tests 2013-04-25 08:52:21 -05:00
Peter Thorson
d4be2a9b4d more frame writing unit tests 2013-04-25 06:36:09 -05:00
Peter Thorson
6095b90cc1 adds hybi00 support for writing messages 2013-04-25 06:27:36 -05:00
Peter Thorson
a9b30b6b07 updates processors to support writing handshake requests with subprotocols 2013-04-07 12:17:10 -05:00
Peter Thorson
0c9c121160 moves subprotocol extraction into the processor 2013-04-06 12:10:39 -05:00
Peter Thorson
ddd1a95460 refactors hybi00 unit tests to remove duplicate code and use more specific BOOST checks 2013-04-06 12:10:16 -05:00
Peter Thorson
8f812aafd5 adds subprotocol processing to handshake processors 2013-04-06 11:09:11 -05:00
Peter Thorson
c937f71b49 changes extension permessage-compress to permessage-deflate per latest draft spec 2013-04-04 08:18:39 -05:00
Peter Thorson
13ec782a4f lots of tests 2013-03-31 12:37:59 -05:00
Peter Thorson
45198eb4c6 major overhaul to processor unit tests to reduce duplicated code 2013-03-31 10:49:31 -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
77422dec25 better qualifies subclass typedefs 2013-01-06 09:15:20 -06:00
Peter Thorson
f10f8a4ce0 Initial commit from private 0.3 repository 2013-01-06 06:09:15 -06:00