1764 Commits

Author SHA1 Message Date
Peter Thorson
a4494d5a1e Correct a regression introduced in 0.8.0 that prevented socket options like TCP_NODELAY from being set. Improve documentation about how pre_init differs from init_asio. Improve documentation for the TCP pre-bind handler that is the actual solution to the issue this regression related to. references #530 fixes #812 2020-08-07 15:21:16 -05:00
Peter Thorson
afcf09d3c3 Update examples to remove use of now deprecated functionality references #896 2020-08-07 08:36:49 -05:00
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
a04fb3416c Merge branch 'stkaufer-pr/820' into develop
# Conflicts:
#	changelog.md
2020-07-31 07:31:33 -05:00
Peter Thorson
4ccd5788c8 Fix null pointer deference in proxy error handling code fixes #820 #825 2020-07-31 07:30:07 -05:00
Peter Thorson
6d595399b0 Merge branch 'pr/820' of https://github.com/stkaufer/websocketpp into stkaufer-pr/820 2020-07-31 07:26:22 -05:00
Peter Thorson
a4af806aa9 Update inline todo/docs add missing header file 2020-07-31 06:58:38 -05:00
Peter Thorson
058b7bc4b5 [feature] Add support for exception free mode fixes #792 2020-07-31 06:57:49 -05:00
Peter Thorson
3610eebd90 [docs] Add changelog note about move based set_body references #792 2020-07-31 06:56:03 -05:00
Peter Thorson
266720951c Merge branch 'SophiaTX-set_body-move' into develop
# Conflicts:
#	websocketpp/connection.hpp
#	websocketpp/impl/connection_impl.hpp
2020-07-31 06:49:34 -05:00
Peter Thorson
180f83aac6 Add guards for functions requiring C++11 features 2020-07-26 12:02:32 -05:00
Peter Thorson
03743cc8d9 Merge branch 'set_body-move' of https://github.com/SophiaTX/WebSocketPP into SophiaTX-set_body-move 2020-07-11 08:19:55 -05:00
Peter Thorson
46ab940e9b [cmake] Refactor cmake check for Apple/Haiku/others to be a little more readable. 2020-07-10 10:15:15 -05:00
Peter Thorson
76c17521e9 Merge pull request #849 from Begasus/develop
Haiku check for -lnetwork
2020-07-10 10:03:48 -05:00
Peter Thorson
fea20c6dd5 [travis] switch travis build to cmake 2020-07-10 09:52:54 -05:00
Peter Thorson
7c29d7d2da Update credits for issue, was reported and fixed in an earlier PR as well 2020-07-10 07:50:20 -05:00
Peter Thorson
c2dc3ab17b [travis] Update travis to use 18.04 distribution 2020-07-10 06:53:06 -05:00
Peter Thorson
8c41a79e6d Merge branch 'robinlinden-u/fix-scons-ci' into develop 2020-07-10 06:47:38 -05:00
Peter Thorson
7ae4e44c28 [travis] Don't CI experimental or legacy branches 2020-07-10 06:47:10 -05:00
Peter Thorson
e8c5bff955 Merge branch 'u/fix-scons-ci' of https://github.com/robinlinden/websocketpp into robinlinden-u/fix-scons-ci 2020-07-10 06:41:28 -05:00
Peter Thorson
226c9fee4b [docs] Clean up config and handler documentation 2020-07-10 06:40:40 -05:00
Peter Thorson
91d43b9d40 Merge branch 'matrohin-develop' into develop 2020-07-09 18:01:36 -05:00
Peter Thorson
57550c9aac update changelog for recent PR 2020-07-09 18:01:15 -05:00
Dmitry Matrokhin
ec5c379401 Add test and refactor to_hex
Avoid std::string creation and code duplication.
2020-07-02 02:03:48 +03:00
Peter Thorson
901425aa8e [core] Cancel ping timer on close fixes #664 2020-06-30 06:25:40 -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
Peter Thorson
94b42e66c5 Fix documentation typo 2020-06-27 17:33:33 -05:00
Peter Thorson
0d4f36136c [core] Add defensive assertions to HTTP message read logic fixes #899 2020-06-07 14:19:29 -05:00
Peter Thorson
29c84c4e86 [core] Cancel ping timer before calling blocking pong handler. fixes #901 2020-06-07 13:38:25 -05:00
Peter Thorson
a9fc060b26 [scratch_client] Fix copy/paste error references #893 2020-06-07 13:27:00 -05:00
Peter Thorson
2bfa00d46c [docs] Additional license clarification documentation references #906 2020-06-07 13:24:20 -05:00
Peter Thorson
f49eee7b3d Merge pull request #906 from cycledriver/patch-1
Add license type
2020-06-07 13:07:26 -05:00
cycledriver
98807da653 Add license type
Trying to on-board this software into a large corporation.  The powers that control this process are unable to recognize this license as BSD-3 without it explicitly saying that it's BSD3.
2020-06-05 08:59:47 -04:00
Peter Thorson
52eb08631c python 3 fixes, references #857 2020-04-28 10:07:34 -05:00
Peter Thorson
97296a33e2 more Python 3 fixes, references #857 2020-04-28 10:05:57 -05:00
Peter Thorson
fb0e97fe88 update changelog for recent PR 2020-04-28 09:52:47 -05:00
Peter Thorson
fe5ffc1a8d Merge pull request #885 from jochenjagers/fix/scons_python_3
updated SConstruct to be compatible with Python 3
2020-04-28 09:50:26 -05:00
Peter Thorson
9f49a15d61 fix regression in new uri parsing logic. Add new test case for this situation. fixes #886 2020-04-28 09:45:57 -05:00
Jochen Jägers
4d833a390d updated SConstruct to be compatible with Python 3
Python 3 has no has_key on dictionary so the detection
of environmental variables wouldn't work.
2020-04-28 14:31:51 +02:00
Peter Thorson
72c429c2a4 [cmake] Adjust CMake config to use GNUInstallDirs to choose install directories rather than hard coding. fixes #854 2020-04-27 10:38:43 -05:00
Peter Thorson
36b73da895 [cmake] Remove quotes that was making it hard for cmake to find newer boost versions. fixes #855 2020-04-27 10:34:06 -05:00
Peter Thorson
59f1b432db Merge commit '1b11fd301531e6df35a6107c1e8665b1e77a2d8e' into develop 2020-04-27 10:27:53 -05:00
Peter Thorson
1b11fd3015 Create FUNDING.yml 2020-04-27 10:25:11 -05:00
Robin Linden
d374dc1f9f Allow Travis to build all branches 2020-04-20 14:51:29 +02:00
Peter Thorson
1f38c0bc95 Fix errors for projects that build websocket++ in multiple translation units 2020-04-19 22:33:50 -05:00
Peter Thorson
2c355d9ef0 Fix typo in CMakeLists.txt that caused CXX_FLAGS to be improperly quoted. Removed unnecessary hardcoded dependency on libc++ for clang. fixes #859 2020-04-19 22:33:24 -05:00
Peter Thorson
5b8de24a44 PR credits 2020-04-19 22:25:51 -05:00
Peter Thorson
7e6ca9a68e Merge pull request #878 from robinlinden/fix-scons-typo
Fix clang getting CXXFLANGS instead of CXXFLAGS
2020-04-19 22:23:50 -05:00
Peter Thorson
f7781fa4dd misc cleanup 2020-04-19 22:23:27 -05:00
Peter Thorson
20ea478989 Overhaul URI authority handling to allow better validation per RFC3986. Allows detecting IPv6 literal addresses in order to generate valid URI strings. fixes #601 references #879 2020-04-19 22:07:33 -05:00