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
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
Peter Thorson
14074666a7
disable some debugging output
2014-02-02 10:55:31 -06:00
Peter Thorson
bb431ee0d2
Fix a crash following use of the stop_listening function.
2014-01-26 20:53:17 -06:00
Peter Thorson
e44463583b
Fix a crash when parsing empty HTTP headers
2014-01-26 19:39:55 -06:00
Peter Thorson
4393a2562b
Add the ability to pause reading on a connection
2014-01-25 18:46:44 -06:00
Peter Thorson
780f7683a4
add typedefs for iostream clients and servers to integration test suite
2014-01-25 18:29:54 -06:00
Peter Thorson
c7fda5a960
remove debug output from test
2013-12-14 09:31:58 -06:00
Peter Thorson
c2f2cb951b
Fixes some calls to empty lib::functions, references #310
2013-12-10 22:02:22 -06:00
Peter Thorson
06cdf43dcf
Add start_perpetual and stop_perpetual to asio transport
...
These may be used to replace manually managed `asio::io_service::work`
objects
2013-11-04 16:50:35 -06:00
Peter Thorson
a1872c3790
Merge branch 'master' of https://github.com/zaphoyd/websocketpp
...
Conflicts:
changelog.md
2013-11-02 19:34:01 -05:00
Peter Thorson
5e803b57f7
add uri unit test
2013-11-01 16:05:46 -05:00
Peter Thorson
6a3e886f0b
update HTTP parser tests to use more specific test checks
2013-10-25 07:23:30 -05:00
Peter Thorson
ac9351f9b3
strips LWS from incoming headers per RFC2616. fixes #301
2013-10-25 07:23:06 -05:00
Peter Thorson
962a090300
update code style and add docs+tests for uri::get_query references #298
2013-10-20 14:15:05 -05:00
Peter Thorson
45a612f44b
additional support for compile time disabling of multithreading features
2013-10-20 12:54:59 -05:00
Peter Thorson
97e5e5fc7b
replaces sha1 library with a more clearly licensed project references #294
2013-10-10 08:19:43 -05:00
Peter Thorson
b934e71ace
adjust transport async_accept and async_connect to use connection_ptr instead of connection_hdl
...
prevents a newly created connection_ptr from being destroyed
immediately after accepting or connecting.
2013-10-06 10:51:41 -05:00
Peter Thorson
96f7d0f3f2
catch test error condition better
2013-10-06 10:48:23 -05:00
Peter Thorson
550365df6a
updates iostream tests for new safer/less leaky API
2013-09-28 07:57:38 -05:00
Peter Thorson
d17569fa87
fixes issue where custom headers couldn't be set for client connections
2013-09-25 08:18:46 -05:00
Peter Thorson
80133d6d55
fix unit tests
2013-08-15 08:37:29 -05:00
Peter Thorson
3bab403c1b
Refactor asio_transport and add full docs and exception free varient methods
2013-07-27 11:24:24 -05:00
Peter Thorson
c017331959
remove trailing whitespace
2013-07-21 07:49:15 -05:00
Peter Thorson
1c199aca6e
minor refactoring of sha1 code
...
Update code style to better match project. Add more documentation. Add
some C++ specific features to improve compatibility and reduce warnings
with C++ applications. Add original project unit tests to WebSocket++
test suite.
2013-07-14 10:34:47 -05:00
Peter Thorson
b8af39fd82
formatting
2013-07-13 13:29:10 -05:00
Peter Thorson
c94621bd29
case insensitive header comparisons fixes #220 and #275
2013-07-13 13:28:56 -05:00
Peter Thorson
28ac69c800
temporary workaround for a g++ compile issue
2013-07-09 21:59:28 -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
8f2c4264e1
Server header/User agent adjustments & tests
...
Updates behavior to drop the headers if user_agent is set to the empty
string and to allow overriding the Server header from the validate
function. Updates docs and adds a number of tests
2013-07-08 18:07:33 -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
915f5c77a8
support c2s_max_window_size
2013-06-30 18:34:21 -05:00
Peter Thorson
407b931395
Add s2c_max_window_bits negotiation
2013-06-29 17:53:53 -05:00
Peter Thorson
25b530b8a8
fix bug that prevented multiple attributes from working
2013-06-27 19:49:13 -05:00
Peter Thorson
038a9aee58
setting and negotiation of c2s_no_context_takeover
2013-06-27 19:48:48 -05:00
Peter Thorson
9749c0a3d5
enable server initiated s2c_no_context_takeover
2013-06-27 19:02:28 -05:00
Peter Thorson
c7b1ddd9fa
permessage-deflate negotiation of s2c_no_context_takeover
2013-06-27 18:35:32 -05:00
Peter Thorson
7a0d9c0238
cleanup permessage deflate extension
2013-06-25 21:07:46 -05:00
Peter Thorson
743cd7a713
HTTP cleanup and documentation
2013-06-25 20:57:30 -05:00
Peter Thorson
88fe1bfb1c
Fix issue where pong timeout handler always fired
2013-06-24 14:59:19 -05:00