Commit Graph
1102 Commits
Author SHA1 Message Date
Peter Thorson 6fe8d8a4f9 ignore log files 2013-04-23 10:03:31 -05:00
Peter Thorson 1421403603 adds ability to set arbitrary stream for logging 2013-04-23 10:03:24 -05:00
Peter Thorson 30d3c8a895 removes cout statement 2013-04-23 10:03:04 -05:00
Peter Thorson 07a4394ba6 new iostream example 2013-04-23 09:26:57 -05:00
Peter Thorson e7483e82ac adds manual input options for iostream transport 2013-04-23 09:26:50 -05:00
Peter Thorson cd8b467225 expected EOF after clean close no longer triggers fatal error references #209 2013-04-20 09:30:02 -05:00
Peter Thorson d987f7b0d5 user agent strings in connect logging are now properly quoted 2013-04-20 08:56:45 -05:00
Peter Thorson 91250fcd54 adds a string_replace_all utility function 2013-04-20 08:56:19 -05:00
Peter Thorson 466c9bd626 removes redundant code from echo_server 2013-04-20 08:34:58 -05:00
Peter Thorson 72b5fada72 adds close result logging 2013-04-20 08:34:28 -05:00
Peter Thorson ea3426868c adds asio transport eof error detection 2013-04-20 08:33:53 -05:00
Peter Thorson f877098f7c fixes debug config 2013-04-20 08:33:27 -05:00
Peter Thorson 4c1abab02b removes unneeded dependencies and makes base64 validation more strict references #209 2013-04-20 07:44:06 -05:00
Peter Thorson 98171d525e adds C++ namespaces to <cstring> methods references #209 2013-04-20 07:30:52 -05:00
Peter Thorson 4ada7f9b0b updates asio transport endpoint with a few more io_service convenience pass through methods references #211 2013-04-20 07:25:34 -05:00
Peter Thorson 4bc4518df0 Fixes send buffer going out of scope, references #209 2013-04-16 11:26:13 -05:00
Peter Thorson 16f28ea671 adds debug/devel configs 2013-04-12 08:13:28 -05:00
Peter Thorson 894124c042 improves error reporting and adds remote endpoint address to connection open logging 2013-04-12 08:13:18 -05:00
Peter Thorson b12bff7d5d impliments get_remote_endpoint for asio transport 2013-04-12 08:12:45 -05:00
Peter Thorson b38e41e459 some test work on removing uri regex dependency 2013-04-12 08:12:21 -05:00
Peter Thorson 6a37bf3a43 update copyright date 2013-04-12 08:11:48 -05:00
Peter Thorson 5e595d7fe6 adds error logging config settings to clients 2013-04-12 08:11:36 -05:00
Peter Thorson c8fada14f7 adds configurable static logging channels 2013-04-08 09:44:32 -05:00
Peter Thorson 1e97e3dcf5 adds connection client methods for adding subprotocols to the handshake request 2013-04-07 12:18:03 -05:00
Peter Thorson a9b30b6b07 updates processors to support writing handshake requests with subprotocols 2013-04-07 12:17:10 -05:00
Peter Thorson bfbb4a94db adds an example to demonstrate subprotocol negotiation 2013-04-06 15:30:58 -05:00
Peter Thorson 51caf0517e adds support for retrieving headers from the request and response objects 2013-04-06 15:30:35 -05:00
Peter Thorson d47327d2a6 updates readme progress list 2013-04-06 12:12:35 -05:00
Peter Thorson 0c9c121160 moves subprotocol extraction into the processor 2013-04-06 12:10:39 -05:00
Peter Thorson ddd1a95460 refactors hybi00 unit tests to remove duplicate code and use more specific BOOST checks 2013-04-06 12:10:16 -05:00
Peter Thorson 17fcb3f8be adds subprotocol selection to connection 2013-04-06 11:09:41 -05:00
Peter Thorson 8f812aafd5 adds subprotocol processing to handshake processors 2013-04-06 11:09:11 -05:00
Peter Thorson 6d1b956aff adds preliminary server side subprotocol negotiation 2013-04-05 21:10:19 -05:00
Peter Thorson 10db03d710 more work on subprotocol tests 2013-04-05 09:30:15 -05:00
Peter Thorson 9f0649cb91 adds integration tests for the server role 2013-04-05 08:29:17 -05:00
Peter Thorson 8c7c31362d Adds storage and getter for negotiated subprotocol 2013-04-05 08:28:54 -05:00
Peter Thorson 1f450fd034 refactors connection testing to extract more common functionality 2013-04-05 08:28:13 -05:00
Peter Thorson 9ebd169675 fixes a crash when strftime overflowed buffer #205 2013-04-05 07:29:20 -05:00
Peter Thorson c937f71b49 changes extension permessage-compress to permessage-deflate per latest draft spec 2013-04-04 08:18:39 -05:00
Peter Thorson dff7a57e3d updates HTTP parser to use an ordered list of parameters rather than unordered
order matters as far as websocket extension negotation goes
2013-04-04 08:18:05 -05:00
Jonne Nauha df4d7167fd CMake continued: Try to detect g++, clang, windows and osx and setup appropriate defines and build flags. Improve so that each setup can define platform, boost and ssl libs. I tried to copy everything that I could from the scons scripts, probably some of this can be removed (might be automated from cmake already), left todo:s for that. Added building simple examples, more to follow. NOTE: This has only been tested on windows. 2013-04-03 01:56:10 +03:00
Jonne Nauha 75b2497f2b Fix intrusive_ptr template init on windows. The second template argument should probably be removed if its not neccesary for other platforms. I did not find boost documentation for what the second argument actually does, but in the meanwhile ifdeffed so that builds on windows (yes its ugly). Fixes #198 (with a semi hack). 2013-04-03 01:52:22 +03:00
Jonne Nauha 834e3e4fae Fix stdint.hpp for <=VC9. 2013-04-03 01:48:35 +03:00
Jonne Nauha e039a57ee0 CMake prebuild system: Initial commit that has most of the basics down. Only tested on windows atm. TODO: Properly support examples, tests and cpp11 defines to build websocketpp in different setups. 2013-04-01 17:48:47 +03:00
Peter Thorson 73e877f1b8 removes unused headers to avoid confusion references #202 2013-04-01 08:43:43 -05:00
Peter Thorson 7739d4fe72 updates readme 2013-03-31 21:43:22 -05:00
Peter Thorson a8e3ae47dd more readme updates 2013-03-31 21:35:11 -05:00
Peter Thorson dcdeb96c62 readme updates 2013-03-31 21:21:39 -05:00
Peter Thorson f38acd5784 impliments the autobahn echo client spec to allow autobahn test suite to test the client 2013-03-31 21:20:14 -05:00
Peter Thorson 800028d1a9 Changes HTTP response parser behavior to only read response bodies when a content length header is present 2013-03-31 21:16:33 -05:00