Peter Thorson
20cc197967
Fix a few other misc test related things
2016-01-12 10:51:59 -05:00
Peter Thorson
9713455e94
Fix TLS+Asio Standalone builds
2015-12-20 09:36:46 -05:00
Peter Thorson
fc6ec59ab8
more travis updates
2015-12-17 08:11:23 -05:00
Peter Thorson
a01cce3b1a
travis update
2015-12-17 07:32:26 -05:00
Peter Thorson
e1b39037f7
travis config update
2015-12-17 07:30:00 -05:00
Peter Thorson
f54fb0669b
more docs
2015-12-17 07:29:51 -05:00
Peter Thorson
935c8a3264
Begin update to migrate manual content into the git repository
...
The goal here is to get all the documentation in one place including
the class reference, text based manual, tutorials, etc.
2015-12-16 10:03:14 -05:00
Peter Thorson
1e12e7aff8
use c++11 thread support on recent visual studio versions (really)
2015-12-15 19:17:11 -05:00
Peter Thorson
bda1bd14cb
use c++11 thread support on recent visual studio versions
2015-12-15 19:13:37 -05:00
Peter Thorson
ed45dcc617
Fix an issue where the wrong type of strand was being created.
2015-11-24 10:22:54 -05:00
Peter Thorson
b85affddf4
Test how some doxygen compatible markup behaves on github
2015-11-05 08:29:04 -05:00
Peter Thorson
5500aef4ce
Allow accessing the local endpoint when using the Asio transport. fixes #458
2015-11-05 06:33:15 -05:00
Peter Thorson
4e2fb75d07
Removes non-standards compliant masking behavior. fixes #469 , fixes #395
2015-10-30 09:26:28 -04:00
Peter Thorson
6a94162264
Fix error handling in debug_client fixes #473
2015-10-30 08:45:32 -04:00
Peter Thorson
536db87c53
Merge branch 'pr/468' into develop
2015-09-30 09:59:11 -04:00
Peter Thorson
39c5f3ae3d
Update changelog
2015-09-30 09:56:57 -04:00
Peter Thorson
b6817e4c7e
Actually have the response status getters work; also tests
2015-09-19 10:54:50 -04:00
Peter Thorson
72e55a76b5
remove alias for better compatibility with older compilers
2015-09-17 10:09:28 -04:00
Peter Thorson
93b75ccc7d
Add get_status and get_response methods to connection fixes #465
2015-09-17 10:09:07 -04:00
Peter Thorson
3e8dbf767d
Add example demonstrating external io_service
2015-09-17 08:11:48 -04:00
Peter Thorson
3c77ce3cc7
Fix race condition resulting in corruption of responses sent from non-blocking HTTP handers
...
The HTTP request processing code was expecting that the http response
state would be `deferred` after a call to an HTTP handler that deferred
the response. If, in addition to deferring, you also sent the response
the HTTP state advanced past `deferred` to `response_written`. This
doesn't easily show up in unit tests because the bug requires that the
async write still be in flight and the connection still be open when
the HTTP handler returns.
An asynchronous network transport (like Asio) combined with a
sufficiently large message that Asio yields control back to WebSocket++
before the response is fully written will trigger a second write on the
same connection while the first is in flight. This is not allowed per
the Asio spec and results in undefined behavior.
The HTTP request processing code now checks if the http state is init,
i.e. not deferred and no response has been started rather than just if
it was deferred.
2015-09-09 10:14:37 -04:00
Peter Thorson
54ce641d02
remove tabs
2015-08-25 09:30:00 -04:00
Peter Thorson
e0bd3f7e95
Address an issue where an exception could be thrown when a socket gets canceled on Windows XP #460
...
This fix switches to using the non-exception variant of socket::cancel
and logging the error instead of throwing it. There is a chance that
something else will need to be addressed as a result of this change as
some async operations might not be cancelled? I believe everything in
question has timeouts that will trigger operation cancellation at some
point anyways.
2015-08-25 09:03:00 -04:00
Peter Thorson
fb829e0895
Misc changes related to translation of asio transport errors #448
2015-08-20 10:14:55 -04:00
Peter Thorson
f9dbc0fd9d
Merge branch 'pr/456' into develop
2015-08-06 09:12:05 -04:00
Peter Thorson
0b2b77e4ad
update changelog
2015-08-06 09:11:50 -04:00
Peter Thorson
4b18214eda
Add preliminary support for C++11 features in Visual Studio 2015
2015-08-01 12:38:18 -04:00
Peter Thorson
e80673278f
Merge branch 'pr/454' into develop
2015-07-29 09:29:37 -04:00
Peter Thorson
95551e7e94
code style & change log update for PR
2015-07-29 09:28:22 -04: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
9b09b0b481
Merge branch 'pr/449' into develop
2015-07-29 08:59:14 -04:00
Peter Thorson
ef380f7fff
Add CMake build support for examples and tests, zlib dependencies
2015-07-29 08:57:56 -04:00
Peter Thorson
c54f2abaab
utility client build scripts
2015-07-23 07:53:51 -04:00
Peter Thorson
3580530902
Miscellaneous changes
...
- Updates code style
- Adds some tags for future exception free work
- Fix utility client build scripts
2015-07-23 07:53:31 -04:00
Peter Thorson
dabf32a668
Better std::chrono autodetection for Visual Studio
2015-06-05 08:49:07 -04:00
Peter Thorson
0d7052d2ae
Merge branch 'master' into permessage-deflate
...
Update permessage-deflate to track latest release version.
2015-06-03 09:21:06 -04:00
Peter Thorson
39497aaa61
reset dev branch for work on next version
2015-06-02 08:59:10 -04:00
Peter Thorson
c5510d6de0
Merge branch 'develop'
...
Conflicts:
CMakeLists.txt
Doxyfile
changelog.md
readme.md
websocketpp/version.hpp
2015-06-02 08:55:24 -04:00
Peter Thorson
f931734369
prep for release
2015-06-02 07:19:59 -04:00
Peter Thorson
af792aeaba
Update changelog
2015-06-02 07:02:48 -04:00
Peter Thorson
1b9e40040c
update readme
2015-05-10 21:36:19 -04:00
Peter Thorson
8893faff53
Removes an unnecessary mutex lock in get_con_from_hdl
2015-05-10 21:36:19 -04:00
Peter Thorson
430fb82e76
Fix typo in cmake files
2015-05-10 21:36:19 -04:00
Peter Thorson
acb53a379c
Refactor deferred http handler support to better match the library conventions
2015-04-29 20:00:20 -04:00
Peter Thorson
c18f210ea3
Allow deferring the sending of an HTTP response. references #425
...
This allows processing of long running http handlers to defer their
response until it is ready without blocking the network thread.
2015-04-29 19:28:36 -04:00
Peter Thorson
f469b90bfc
update changelog credit
2015-04-29 19:24:04 -04:00
Peter Thorson
9d95501536
changelog update
2015-04-25 13:32:33 -04:00
Peter Thorson
9351e73e90
initial sketch of TLS tutorial
2015-04-25 12:41:14 -04:00
Peter Thorson
b817c4499e
Updates echo_server_tls reference TLS settings
2015-04-25 12:28:28 -04:00
Peter Thorson
7829de34a3
Update changelog
2015-04-25 12:26:16 -04:00
Peter Thorson
6973f02d1c
make sure boost version is loaded before using it
2015-04-25 12:25:17 -04:00
Peter Thorson
31b75714bd
Update common/chrono.hpp to latest spec
2015-04-25 12:24:53 -04:00
Peter Thorson
257b5ac8e5
add boost chrono to travis dependencies
2015-04-25 07:33:26 -04:00
Peter Thorson
769fe89533
Major refactor to support standalone Asio and remove Boost dependencies
...
It is now possible to use WebSocket++’s asio transport using only
standalone asio by defining ASIO_STANDALONE before including any
WebSocket++ headers.
2015-04-25 07:17:28 -04:00
Peter Thorson
d670d69c6e
Refactor boost dependencies
...
Introduces a common type_traits header that supplies aligned_storage
using either boost or C++11.
removes unused boost header boost/array.hpp
removes usage of boost::noncopyable in favor of C++11 deleted copy
constructor/operators
2015-04-24 09:40:59 -04:00
Peter Thorson
2c843b9343
echo_server now checks for a special command to stop listening for new connections
2015-04-14 08:14:47 -04:00
Peter Thorson
d076e38e00
properly set opcode on outgoing close frames
2015-04-14 07:58:34 -04:00
Peter Thorson
4331de8a29
Add missing header references #418
2015-04-14 06:56:30 -04:00
Peter Thorson
d68fd03e40
date fix
2015-04-02 09:56:22 -04:00
Peter Thorson
e161ffde69
permessage deflate error category utility methods should be inline
2015-04-02 09:39:03 -04:00
Peter Thorson
6300e090ad
disable emplace test
...
emplace requires move assignability which the class in question doesn’t
support.
2015-03-05 07:55:03 -06:00
Peter Thorson
45dfcbec3c
changelog update
2015-03-04 18:43:49 -06:00
Peter Thorson
39dbe3a4e0
adds a vectored write handler for iostream transport
2015-03-04 18:42:55 -06:00
Peter Thorson
31c761a0a9
Endpoints are now reset after listen failure. fixes #390
2015-01-22 08:20:13 -05:00
Peter Thorson
681c2331a1
Fixes out of scope pointer returned from websocketpp::exception::what(); fixes #397
...
Also adds unit tests for exception construction
2015-01-22 07:33:14 -05:00
Peter Thorson
fccc78479e
retest
2015-01-20 08:29:02 -05:00
Peter Thorson
3017a9c5e4
increase test timeouts
2015-01-20 07:55:42 -05:00
Peter Thorson
d55f28fe4b
fix a bunch of minor warnings
2015-01-20 07:53:53 -05:00
Peter Thorson
a8d4a9a66a
increase test timeouts to help avoid false positives
2015-01-20 07:17:29 -05:00
Peter Thorson
17544d4d62
correct some documentation & fix warnings
2015-01-20 07:00:43 -05: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
d4e15c89ad
update changelog
2015-01-14 06:18:56 -06:00
Peter Thorson
09c5f6505e
Disable default use of C++11 threads on MinGW
2015-01-06 17:34:00 -06:00
Peter Thorson
745ed4f77a
increase test timeout to help fail less on slow travis machines
2015-01-06 17:33:01 -06:00
Peter Thorson
b9d4187e38
logger documentation
2014-12-05 10:19:31 -05:00
Peter Thorson
cbe887524e
Documentation and code style for syslog logger references #386
2014-12-05 10:10:44 -05:00
Peter Thorson
9807283a6b
Update sha1::calc length parameter to more sane type references #358
...
also cleans up formatting and code style and adds documentation
2014-10-14 22:17:57 -04:00
Peter Thorson
83a66f4e3f
Update base64_encode length parameter to more sane type references #358
...
Also adds documentation and cleans up formatting
2014-10-14 08:28:26 -04:00
Peter Thorson
2e7a902ef7
prefix htonll/ntohll fixes #381 fixes #382 references #358
...
This avoids conflicts with OS level macros
2014-10-14 08:08:30 -04:00
Peter Thorson
65cc3765a8
add docs for namespaces and concurrency policies
2014-05-30 16:02:07 -05:00
Peter Thorson
10be5eee14
clarified documentation for bad_connection error
2014-05-30 16:02:07 -05:00
Peter Thorson
c39777e4c1
add documentation for socket policies
2014-05-30 16:02:06 -05:00
Peter Thorson
e7ce038207
remove unused file
2014-04-10 10:53:41 -05:00
Peter Thorson
aaed2c4950
fix whitespace
2014-04-10 10:20:26 -05:00
Peter Thorson
64fffeda9f
Add combination plain+TLS echo example
2014-04-10 10:19:30 -05:00
Peter Thorson
7137105a81
documentation updates
2014-04-02 11:57:04 -05:00
Peter Thorson
edb26d7721
listen errors are now reported to the caller
2014-03-06 19:01:11 -06:00
Peter Thorson
b2d698d3ca
include hdl in message actions
...
This is not strictly necessary for the broadcast server example. As
this example is commonly used as a starting point for new programs the
lack of hdl on message action is a source of surprising behavior.
2014-03-06 11:59:38 -06:00
Peter Thorson
5e2fadd826
pass better information about TLS handshake failures
2014-03-03 17:09:55 -06:00
Peter Thorson
840bb6b59e
code style and whitespace
2014-03-03 10:32:04 -06:00
Peter Thorson
92dfe9ef97
clarify commands section and new members/methods of websocket_endpoint
2014-02-23 15:46:51 -06:00
Peter Thorson
2ab02197fd
Fleshes out step 4 (opening connections)
2014-02-23 15:31:54 -06:00
Peter Thorson
ce2c1d6e34
whitespace
2014-02-13 11:18:44 -06:00
Peter Thorson
7ceeaa4f9c
fix documentation spelling error
2014-02-13 11:10:47 -06:00
Peter Thorson
883410bb77
Fix an issue where custom timeout values weren't being propagated from endpoints to new connections
2014-02-12 15:07:09 -06:00
Peter Thorson
6d4514246f
separate step 2 and 3
2013-12-14 07:41:21 -06:00
Peter Thorson
01963a23ea
working copy of app client tutorial example
2013-11-21 20:17:39 -06:00
Peter Thorson
2e2a8e4346
documentation and reorganization
2013-05-30 23:30:04 -05:00
Peter Thorson
808179551f
remove dead code
2013-05-30 23:29:48 -05:00
Peter Thorson
38a565888f
adds documentation
2013-05-30 18:05:34 -05:00