Peter Thorson
c6d7e295bf
Set version flags for release
2018-07-16 07:40:53 -05:00
Peter Thorson
c43242523c
Update changelog
2018-07-16 07:38:45 -05:00
Peter Thorson
12b8f37cf5
Merge branch 'pr/732' into develop
2018-07-16 07:34:02 -05:00
Peter Thorson
6b8dfe02c2
Merge branch 'pr/731' into develop
2018-07-16 07:32:03 -05:00
Peter Thorson
c2fd89bede
Update version flags for future development
2018-07-12 07:52:49 -05:00
Peter Thorson
c612a35f06
Set version flags for 0.8.0 release
2018-07-12 07:50:48 -05:00
Peter Thorson
99d169f586
Update changelog for recent PRs
2018-07-12 07:46:21 -05:00
Peter Thorson
19cad9925f
credits
2017-09-24 10:48:12 -05:00
Peter Thorson
c4050979c3
tcp_pre_bind_handler returns a lib::error_code not an asio::error_code. These are sometimes the same but not always. Fix ensures that the error code types always match correctly no matter what they are. Update test suite to reflect adjusted behavior
2017-09-24 10:44:21 -05:00
Peter Thorson
7e8c8a8fad
Fix preprocessor syntax issue
2017-09-24 09:56:21 -05:00
Peter Thorson
e79e0d1f94
Merge branch 'develop' of https://github.com/zaphoyd/websocketpp into develop
2017-09-24 09:27:47 -05:00
Peter Thorson
bc12b81b29
Merge branch 'pr/608' into develop
...
# Conflicts:
# changelog.md
2017-09-24 09:27:42 -05:00
Peter Thorson
8bc11bdf24
credits
2017-09-24 09:19:50 -05:00
Peter Thorson
1cb045d946
Add pointers in the docs to new mingw support
2017-09-24 09:17:34 -05:00
Peter Thorson
2a36e41a9a
Remove auto selection of mingw-std-threads when MinGW is detected. Increase the priority of mingw-std-threads given its optional status.
2017-09-24 09:17:17 -05:00
Peter Thorson
0e1fc63b83
remove submodule
2017-09-24 09:16:05 -05:00
Peter Thorson
0b0871d879
remove submodules
2017-09-24 08:55:47 -05:00
Peter Thorson
e943c9e1ed
credits for patch
2017-09-24 08:44:28 -05:00
Peter Thorson
e50ed8c1b1
update changelog for PR
2017-06-11 17:49:41 -05:00
Peter Thorson
0b2e14ee3a
Merge branch 'pr/589' into develop
2017-06-11 17:44:02 -05:00
Peter Thorson
1cb9666036
Update changelog for PR
2017-06-11 17:43:09 -05:00
Peter Thorson
cb3d7de91f
Remove deprecated features to allow compiling with C++17 compilers fixes #592
2017-06-11 17:37:14 -05:00
Peter Thorson
9baab8faa9
Normalize line endings to unix format fixes #644
2017-06-11 17:27:41 -05:00
Peter Thorson
6330286ad5
Use separate buffers for compression and decompression to prevent corruption when reading and writing from separate threads. references #633 references #615
2017-06-11 17:24:51 -05:00
Peter Thorson
cb4cf66911
Merge branch 'pr/634' into develop
2017-06-11 16:46:31 -05:00
Peter Thorson
99e1a99633
change log update for PR
2017-06-11 16:46:18 -05:00
Peter Thorson
96b2d42c83
Merge branch 'pr/638' into develop
2017-06-11 16:39:32 -05:00
Peter Thorson
bc04ae4f5f
update changelog for PR
2017-06-11 16:37:46 -05:00
Peter Thorson
d282738c81
Merge branch 'pr/643' into develop
2017-06-11 16:28:58 -05:00
Peter Thorson
a32eb0887b
change log entry for PR
2017-06-11 16:28:47 -05:00
Peter Thorson
29bb4ada91
Merge branch 'pr/647' into develop
2017-06-11 16:16:38 -05:00
Peter Thorson
ac9164c3b5
update changelog for PR
2017-06-11 16:16:13 -05:00
Peter Thorson
4cab5e5c0c
minor adjustments to recent extension negotiation related fixes, refactor a bit more extension negotiation code to be simpler
2017-06-11 16:13:25 -05:00
Peter Thorson
16d126ee61
Remove custom handling of SSL_R_SHORT_READ errors. fixes #599
2017-06-11 15:41:06 -05:00
Peter Thorson
9ddb300d87
Update permessage-deflate support to reflect that zlib doesn't support a 256 bit window. Improve extension negotiation error checking and documentation. fixes #596 fixes #653
2017-06-11 15:24:43 -05:00
Peter Thorson
37ce8abc77
Merge branch 'pr/593' into develop
2016-10-14 08:28:55 -05:00
Peter Thorson
abf927bb24
Fix some bugs, normalize code style, update documentation, add tests
...
Method needs to be public to be useful, updated return type to const
reference for efficiency
2016-10-14 08:27:06 -05:00
Peter Thorson
322e3bafbf
Update telemetry_client to use Sleep on windows references #574
2016-10-04 07:41:02 -05:00
Peter Thorson
9019af0070
Add FAQ entry
2016-10-03 19:04:27 -05:00
Peter Thorson
e65b277017
Remove catching websocketpp::lib::error_code in examples, fixes #584
...
A few versions ago the library was standardized to only throw
websocketpp::exception. Not all example code was updated.
2016-10-03 19:04:12 -05:00
Peter Thorson
8434139b67
Add first draft of print_client and print_client_tls
2016-06-10 07:24:36 -04:00
Peter Thorson
d4a4b79684
update changelog for recent PR
2016-06-09 09:22:17 -04:00
Peter Thorson
2b310fa80b
Merge branch 'develop' of https://github.com/zaphoyd/websocketpp into develop
2016-05-25 08:11:20 -04:00
Peter Thorson
0bb33e4bca
Change default listen backlog to socket_base::max_connections from 0, fixes #549
...
After a change in Linux Kernel 4.4 the value of 0 causes all
connections to be rejected rather than the default value being used.
The default is now the asio::socket_base::max_connections value instead
(which is the default asio uses when no value is provided).
Documentation has been updated accordingly.
2016-05-25 08:10:47 -04:00
Peter Thorson
9e5163364f
Add logging reference documentation
2016-04-27 09:00:30 -04:00
Peter Thorson
8f0fab3e77
Update docs & FAQ
2016-04-23 08:05:01 -04:00
Peter Thorson
94fe989840
Store loggers in shared pointers references #501 #537
...
adds related changelog entry and fix one overzealous find and replace
operation.
2016-04-06 09:38:45 -04:00
Peter Thorson
891a7a5ed5
documentation
2016-04-03 11:39:46 -04:00
Peter Thorson
366679b50a
Update docs and changelog
2016-03-31 09:57:45 -04:00
Peter Thorson
94cc1ec5cb
Fix an issue detecting which version of the chrono library to use references #512
...
If we are using Boost for Asio, the
websocketpp::lib::asio::milliseconds function should return a chrono
milliseconds object using whatever chrono library boost is using.
Boost does its own autodetection of the std::chrono library and prefers
it over boost::chrono when available. This change checks which chrono
library boost is using and uses that. Otherwise it falls back to the
websocketpp default.
2016-03-31 09:55:07 -04:00
Peter Thorson
6f128a5499
Move socket_init_handler from pre_init to init_asio #530
...
pre_init happens after bind/listen/accept, preventing socket options
that affect those system calls from being set in time.
2016-02-26 06:37:34 -05:00
Peter Thorson
f5d14f3ad3
Bump develop branch version
2016-02-26 06:30:44 -05:00
Peter Thorson
918745a7ea
Add test case for un-setting a handler (with NULL)
2016-02-26 06:20:53 -05:00
Peter Thorson
378437aecd
Merge branch 'develop'
2016-02-22 08:30:10 -05:00
Peter Thorson
cc7d74d8d0
Set version flags for release
2016-02-22 08:28:27 -05:00
Peter Thorson
b154ac5907
Add FAQ entry
2016-02-22 08:28:05 -05:00
Peter Thorson
0348510c8d
Fix minor issue in hybi00 subprotocol support patch. Update changelog for recent PRs
2016-02-21 18:30:58 -05:00
Peter Thorson
a495c8c529
Merge branch 'develop' of https://github.com/zaphoyd/websocketpp into develop
2016-02-21 18:25:14 -05:00
Peter Thorson
fabf8bf1ca
clarified debugging output in connection read_handshake
2016-02-21 18:24:57 -05:00
Peter Thorson
3f913f97ef
update tls version used in tls timer tests
2016-02-21 18:24:37 -05:00
Peter Thorson
ffaeba2ec7
switch comment style in connection tests
2016-02-21 18:24:19 -05:00
Peter Thorson
db304bfec4
Remove the use of cached read and write handlers in the asio transport. references #490 #525
...
There isn't a clean way to implement this performance optimization without adding global state/locking, which performs worse. This should fix
2016-02-21 18:23:58 -05:00
Peter Thorson
9dc013a3aa
Add an FAQ entry explaining how to use permessage-deflate in 0.6.0 and 0.7.0
2016-02-18 09:11:19 -05:00
Peter Thorson
931ad40b5f
documentation & friend updates
2016-02-18 08:46:15 -05:00
Peter Thorson
842f745e24
Add echo_client example
2016-02-18 08:45:31 -05:00
Peter Thorson
17a2647454
Apply tentative fix for explicitly destroying objects that use io_service before it is deleted
2016-02-08 07:32:57 -05:00
Peter Thorson
323dec4efc
Merge branch 'strand-fix-1' into develop
2016-02-08 07:31:41 -05:00
Peter Thorson
ee343fb282
Adjust use of strand to work better with composite asio operations. references #459
...
particularly affected TLS servers and connection close behavior
2016-02-08 07:31:06 -05:00
Peter Thorson
b76422aa7a
explicitly delete work and resolver object before deleting io_service references #510
2016-02-07 11:58:04 -05:00
Peter Thorson
563fcc6b45
wrap TLS async_shutdown in a strand references #459 #466
2016-02-07 11:26:00 -05:00
Peter Thorson
b6014cc79b
FAQ & Change log minor update
2016-02-02 09:39:12 -05:00
Peter Thorson
d917f0924b
Remove execute permission from sha1.hpp fixes #489
2016-01-31 15:14:44 -05:00
Peter Thorson
e036a5aeab
Also fix this use of auto_ptr
2016-01-31 15:11:33 -05:00
Peter Thorson
ed335a37b5
Replace deprecated use of auto_ptr when unique_ptr is available
2016-01-31 11:07:36 -05:00
Peter Thorson
bb4cbf3d03
Merge branch 'develop' of https://github.com/zaphoyd/websocketpp into develop
2016-01-19 09:34:43 -05:00
Peter Thorson
a388817606
Initial work on utility_server tutorial
2016-01-19 09:33:18 -05:00
Peter Thorson
d0802994d8
Merge branch 'pr/502' into develop
2016-01-14 09:12:02 -05:00
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