Commit Graph

1197 Commits

Author SHA1 Message Date
Peter Thorson
bb431ee0d2 Fix a crash following use of the stop_listening function. 2014-01-26 20:53:17 -06:00
Peter Thorson
373f180638 re-classify some errors with more specific codes and more appropriate logging levels 2014-01-26 20:50:31 -06:00
Peter Thorson
021ac0599c add additional error codes 2014-01-26 20:49:20 -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
8f359e6d35 typo 2013-12-14 09:37:16 -06:00
Peter Thorson
ebb65c81e2 Allow disabling open, close, and pong timers entirely
Set their duration to zero to do this
2013-12-14 09:31:58 -06:00
Peter Thorson
c7fda5a960 remove debug output from test 2013-12-14 09:31:58 -06:00
Peter Thorson
6d4514246f separate step 2 and 3 2013-12-14 07:41:21 -06:00
Peter Thorson
c2f2cb951b Fixes some calls to empty lib::functions, references #310 2013-12-10 22:02:22 -06:00
Peter Thorson
827f3678bb Fixes a leak of connection objects when using asio transport references #310 2013-11-26 22:05:26 -06:00
Peter Thorson
57cd0e286e roadmap / wishlist for broadcast tutorial 2013-11-25 08:20:52 -06:00
Peter Thorson
87cb5036a4 initial work on app client tutorial 2013-11-25 08:16:14 -06:00
Peter Thorson
f05f18b384 clean up chat tutorial a bit 2013-11-25 08:15:20 -06:00
Peter Thorson
01963a23ea working copy of app client tutorial example 2013-11-21 20:17:39 -06:00
Peter Thorson
18036d2b01 sets mutex to mutable to allow use in const accessors references #292 2013-11-05 07:52:31 -06:00
Peter Thorson
17bd89bd80 code style 2013-11-05 07:50:20 -06:00
Peter Thorson
f59f301b91 fix typo in testee server 2013-11-04 17:36:55 -06:00
Peter Thorson
319507f4af update testee_server to disable nagle algorithm 2013-11-04 16:50:45 -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
f8f945433f code style 2013-11-04 07:40:11 -06:00
Peter Thorson
a4f96cf0c3 groundwork for unclean close options 2013-11-04 07:40:06 -06:00
Peter Thorson
7032e6940f adds tcp pre and post init setting functionality to endpoint 2013-11-03 13:32:17 -06:00
Peter Thorson
bfd50e1ee1 locks and spacing 2013-11-03 13:25:21 -06:00
Peter Thorson
415533f7e7 labels changes feature vs bug 2013-11-03 12:44:28 -06:00
Peter Thorson
b87bfc068e Allow setting pong and handshake timeouts at runtime 2013-11-03 12:40:55 -06:00
Peter Thorson
dbb5f963c8 update testee server to use extended listen backlog 2013-11-03 12:31:54 -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
8993b34b3d Allows changing the listen backlog queue length 2013-11-02 19:32:38 -05:00
Peter Thorson
7ae83b9efd update changelog 2013-11-02 18:25:55 -05:00
Peter Thorson
430c49d394 splits tcp init into pre and post init 2013-11-02 18:25:21 -05:00
Peter Thorson
3e5404e1b1 split handler allocator into separate one for reads and writes 2013-11-02 18:24:14 -05:00
Peter Thorson
8524a1a272 add program arguments 2013-11-02 18:22:58 -05:00
Peter Thorson
6f79894ea5 add variable port and thread count to testee server 2013-11-02 17:59:55 -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
00b5bed0d1 moves base64 code into websocketpp namespace 2013-10-20 15:02:51 -05:00
Peter Thorson
0f6e93a13e removes original copies of header-converted libraries to avoid confusion 2013-10-20 15:02:29 -05:00
Peter Thorson
84efd0425a moves sleep call out of a critical section references #283 2013-10-20 14:44:37 -05:00
Peter Thorson
f4d3640870 update changelog 2013-10-20 14:30:54 -05:00
Peter Thorson
6680606523 Merge pull request #297 from evgeni/master
fix "recieve" typo in various places
2013-10-20 12:17:58 -07: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
4d51d990a4 Merge pull request #298 from Banaan/master
add get_query to URI handling
2013-10-20 12:00:54 -07:00
Peter Thorson
362f828767 update changelog 2013-10-20 13:14:12 -05:00
Peter Thorson
aa74d2b295 switched asio read and write handler to use a custom allocator 2013-10-20 13:09:37 -05:00
Peter Thorson
746389efab removes some range checking in an inner read loop 2013-10-20 13:05:46 -05:00
Peter Thorson
5894601291 caches callback functions rather than copying them from handler to handler 2013-10-20 13:03:32 -05:00
Peter Thorson
17c9831449 cache the binding of async read and write handler callbacks 2013-10-20 12:57:02 -05:00