Commit Graph

276 Commits

Author SHA1 Message Date
Tobias Oberstein
44bacdb323 does away with VC++ warning: C4309 - truncation of constant value 2012-07-18 14:09:39 +02:00
Peter Thorson
87d76a3995 Fixes a frame read issue with hybi00 references #101 2012-07-10 07:25:27 -05:00
Peter Thorson
9716a2269c Merge pull request #113 from pmarques/master
Compiler error due to ambiguous methods resolution
2012-06-28 04:36:40 -07:00
Peter Thorson
b58cf53353 some windows fixes 2012-06-05 08:39:08 -05:00
Peter Thorson
1d3942622a this can cause crazy runaway reconnects, need to rethink 2012-06-05 08:25:52 -05:00
Peter Thorson
2f6565565b adds client on_handshake_init callback 2012-06-04 08:47:37 -05:00
Patrick F. Marques
8e091853cc Correction of compiler error due to ambiguous "call conversionS" 2012-05-03 10:40:57 +01:00
Peter Thorson
899b7e3bea defines CPP11 friend fix for Visual Studio 2012-04-22 15:22:40 -05:00
Peter Thorson
9ba194a7f9 fixes #103 2012-04-13 08:47:48 -05:00
Peter Thorson
e928f4a566 adds preliminary machine readable connection failure information 2012-04-13 08:34:22 -05:00
Peter Thorson
31a9f9a9bc potential fixes for hixie76 handshakes, references #101 2012-04-13 07:38:15 -05:00
Peter Thorson
7875f03f76 adds WS handshake timeout 2012-04-13 07:36:00 -05:00
Peter Thorson
419178dead adds hook for on_handshake_init 2012-04-13 07:35:29 -05:00
Peter Thorson
a4bca13636 generic timeout support 2012-04-13 07:34:50 -05:00
Peter Thorson
8d846000bf adds on_tcp_init hook and TLS handshake timeout 2012-04-13 07:34:22 -05:00
Peter Thorson
dc3be3d658 adds on_tcp_init hook 2012-04-13 07:34:11 -05:00
Peter Thorson
75ef3defe9 adds header needed on unix 2012-04-13 07:33:52 -05:00
Jamie Dale
42afb69ede Compiler fixes for VS2010.
This fixes some errors caused by Windows defining things like min and max, as well as a number of warnings about type conversion, unused parameters, inability to generate assignment operators, and constant conditions.

All type conversions were assumed to be intentional, and static_casts have been added to remove the compiler warnings.

The server code should now build cleanly with level 4 warnings enabled (as used in my project), and the client code should build cleanly with level 3 warnings enabled (as used by the WebSocket++ projects).
2012-04-12 19:31:12 +01:00
Peter Thorson
7c4c359ef9 disable experimental support for client thread pool by default 2012-04-10 08:54:51 -05:00
Peter Thorson
1512598e3f logging robustness changes 2012-04-10 08:26:23 -05:00
Peter Thorson
9bc3220b5e message processor performance improvements 2012-04-10 08:25:46 -05:00
Peter Thorson
8129787625 to_hex for char* 2012-04-10 08:24:54 -05:00
Peter Thorson
64156eff9f updates build system files 2012-04-10 08:22:30 -05:00
Peter Thorson
ea19f1e501 masking utility functions and unit tests 2012-04-10 08:21:35 -05:00
Peter Thorson
f3fc8a2466 cleans up and documents some hixie 76 issues references #101 2012-04-07 10:15:28 -05:00
Peter Thorson
6c9d814392 fixes #78 2012-04-07 10:06:36 -05:00
Peter Thorson
b2f57039ae fixes user agent header typo, fixes #100 2012-03-28 09:50:26 -05:00
Peter Thorson
b8ddddfe01 masking optimizations off by default 2012-03-25 14:33:00 -05:00
Peter Thorson
0f95459ac4 preliminary masking code performance improvements 2012-03-25 08:40:29 -05:00
Peter Thorson
368a0f3726 fixes mutex support in const methods 2012-03-25 08:39:39 -05:00
Peter Thorson
3017830e77 clean up legacy code 2012-03-23 13:44:24 -05:00
Peter Thorson
edf244daf7 better detached connection error handling 2012-03-23 13:44:03 -05:00
Peter Thorson
9348aa4c21 adds thread pool support to server 2012-03-21 22:37:04 -06:00
Peter Thorson
6ca0b49ae0 more concurrency cleanup, misc features 2012-03-21 21:57:58 -06:00
Peter Thorson
517852cd95 adds silent close option 2012-03-21 21:57:20 -06:00
Peter Thorson
d20a2f6fef hybi processor silent close frame 2012-03-21 21:56:51 -06:00
Peter Thorson
461fe64242 async handle_read_frame in server 2012-03-21 21:56:23 -06:00
Peter Thorson
892fdd2456 updates defaults 2012-03-21 21:56:01 -06:00
Peter Thorson
3cef677c31 docs and concurrency clean up 2012-03-19 16:20:27 -06:00
Peter Thorson
2f6a014a2e docs and cleanup 2012-03-19 16:19:44 -06:00
Peter Thorson
59efe59466 wrap async calls with strand 2012-03-19 15:53:49 -06:00
Peter Thorson
9d221c6a84 updates some todos 2012-03-19 15:53:17 -06:00
Peter Thorson
60c2f8efb2 lots of new constants 2012-03-19 15:50:11 -06:00
Peter Thorson
8e73e436d0 WS++ very fast fail on utf8 fixes 2012-03-18 16:41:54 -05:00
Peter Thorson
14562aa8bc enable angle by default 2012-03-18 16:41:30 -05:00
Peter Thorson
ae12a9ee52 C++ style copy and set 2012-03-18 14:33:13 -05:00
Sven Almgren
76296fe2dd Fixed broken conversion 2012-03-15 16:15:41 +01:00
Sven Almgren
6fabf34630 Removed some nonstrict-alias code 2012-03-15 15:15:19 +01:00
Sven Almgren
1a0796d315 Removed duplicate variable in assignment (m_state = m_state = X) 2012-03-15 12:57:34 +01:00
Sven Almgren
002b8a2c35 Removed extra comma, as -pedantic complains 2012-03-15 11:56:34 +01:00