Peter Thorson
fb829e0895
Misc changes related to translation of asio transport errors #448
2015-08-20 10:14:55 -04:00
Eli Fidler
15c78afbf4
fix crash in strip_lws()
...
Before this fix, a malicious client could cause a websocketpp server to create an invalid std::string.
2015-08-04 12:01:14 -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
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
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
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
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
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
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
39dbe3a4e0
adds a vectored write handler for iostream transport
2015-03-04 18:42:55 -06:00
Peter Thorson
371d2cdaef
Merge branch 'master' into permessage-deflate
...
Conflicts:
websocketpp/version.hpp
2015-02-27 09:55:51 -05:00
Peter Thorson
9efb12e59b
Fixes an issue where some frame data was counted against the max header size limit
...
End result was that connections that included a lot of frame data
immediately after the initial handshake would erroneously fail due to
hitting the max header size limit.
2015-02-27 09:48:00 -05:00
Peter Thorson
8f042d95ec
don't test for std::move on non-c++11 systems
2015-02-06 08:07:42 -05:00
Peter Thorson
0278ba7895
temporary disable of a unit test
2015-02-06 08:00:36 -05:00
Peter Thorson
4bea90f555
preliminary support for move semantics for endpoints
2015-02-06 07:51:24 -05:00
Peter Thorson
f9b08ccea1
Merge branch 'master' into permessage-deflate
...
Conflicts:
websocketpp/extensions/permessage_deflate/enabled.hpp
2015-01-22 10:21:11 -05: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
3017a9c5e4
increase test timeouts
2015-01-20 07:55:42 -05:00
Peter Thorson
a8d4a9a66a
increase test timeouts to help avoid false positives
2015-01-20 07:17:29 -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
745ed4f77a
increase test timeout to help fail less on slow travis machines
2015-01-06 17:33:01 -06:00
Peter Thorson
1517d646f9
update changelog, remove unused parameters
2014-12-16 07:05:47 -05:00
Peter Thorson
ef393f8aef
Overhaul error handling for failed WebSocket and HTTP connections
2014-12-12 18:31:21 -05:00
Peter Thorson
07543a5dde
disable debugging output from tests
2014-12-11 10:29:41 -05:00
Peter Thorson
ffedb97372
move debug transport to non-relative path location
2014-12-11 10:09:28 -05:00
Peter Thorson
922f1c35bc
add testing system for timer/handshake handler interleaving
...
This interleaving is non-deterministic and pre-0.5 can result in state
errors when timer handers race with read/write handlers. These tests
explicitly and deterministically check all common interleaving for both
clients and servers.
2014-12-11 09:43:01 -05:00
Peter Thorson
bc868a244d
queue for retest
2014-12-08 19:24:10 -05:00
Peter Thorson
18994f7318
Add write_handler to iostream as an ostream replacement
2014-12-04 09:12:57 -05:00
Peter Thorson
7404b506db
Add shutdown handler to iostream transport references #388
2014-12-04 08:15:57 -05:00
Peter Thorson
12700f2bc2
implement HTTP request body parsing
2014-11-18 22:00:31 -05:00
Peter Thorson
bfbfe2b052
Clean up code style and STL includes
2014-11-18 07:13:34 -05:00
Peter Thorson
4100fc3ce7
normalize copyright dates and prep release version
2014-11-04 07:31:24 -05: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
d6c9905e80
fixes another shadowing warning
2014-10-07 10:16:28 -04:00
Peter Thorson
e8d25d22bc
adds documentation and removes unused parameters references #376
2014-10-07 10:04:54 -04:00
Peter Thorson
6c242b205b
detab entire project references #376
2014-10-06 18:33:55 -04:00
Peter Thorson
8a7beaa86a
Merge branch 'exception_refactor' into develop
...
Conflicts:
changelog.md
websocketpp/impl/connection_impl.hpp
2014-08-09 15:44:46 -05:00
Peter Thorson
af7149ae0a
Adds read_all method to iostream transport
...
Adds `connection::read_all(...)` method to iostream transport as a
convenience method for reading all data into the connection buffer
without the end user needing to manually loop on `read_some`.
2014-05-22 21:10:58 -05: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
cfabe17e83
Merge branch 'master' into permessage-deflate
...
Conflicts:
changelog.md
2014-03-25 19:16:19 -05:00
Peter Thorson
a63f7d8b7b
switch all exceptions to be of type websocketpp::exception
2014-03-06 19:35:25 -06:00
Peter Thorson
fd0c62a8e4
add TLS config and types to asio integration tests
2014-03-05 07:27:41 -06:00
Peter Thorson
af15537205
add debug header to integration tests
2014-03-02 22:12:14 -06:00
Peter Thorson
180543b9e6
Adds the ability to specify a maximum message size
2014-02-10 09:21:07 -06:00
Peter Thorson
ba6320ba1c
Add maximum message size functionality to processors
2014-02-10 08:38:54 -06:00
Peter Thorson
fe85de763e
Adds configurable SO_REUSEADDR option. references #311
2014-02-02 18:12:30 -06:00
Peter Thorson
2000746be7
correct misc minor warnings
2014-02-02 15:12:42 -06:00