1b506dc | tyoshino@chromium.org | 18 October 2013, 06:46:31 UTC | benchmark.html typo fix R=yhirano@chromium.org Review URL: https://codereview.appspot.com/14920043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@788 4ff78f4a-9131-11de-b045-6380ec9940d4 | 18 October 2013, 06:46:31 UTC |
d940f95 | yhirano@chromium.org | 17 October 2013, 04:17:15 UTC | Rename parameter names to follow the permessage-deflate spec change. Replace s2c_ and c2s_ with server_ and client_ respectively. R=tyoshino@chromium.org Review URL: https://codereview.appspot.com/14664044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@787 4ff78f4a-9131-11de-b045-6380ec9940d4 | 17 October 2013, 04:17:15 UTC |
0767a25 | tyoshino@chromium.org | 26 September 2013, 08:25:35 UTC | Attempt to print client cert info only when the client sends it. R=yhirano@chromium.org Review URL: https://codereview.appspot.com/13308047 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@786 4ff78f4a-9131-11de-b045-6380ec9940d4 | 26 September 2013, 08:25:35 UTC |
8d70631 | tyoshino@chromium.org | 10 September 2013, 03:11:59 UTC | Add a _Deflater/_Inflater test against big random section input R=yhirano@chromium.org Review URL: https://codereview.appspot.com/13381043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@785 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 September 2013, 03:11:59 UTC |
f971d1f | tyoshino@chromium.org | 10 September 2013, 03:10:51 UTC | [XHR benchmark tool] Verify Blob response Release note: [XHR benchmark tool] Verify Blob response R=yhirano@chromium.org Review URL: https://codereview.appspot.com/13585043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@784 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 September 2013, 03:10:51 UTC |
2676993 | tyoshino@chromium.org | 29 August 2013, 02:27:31 UTC | Group benchmark parameters into one dict. Release note: n/a R=yhirano@chromium.org Review URL: https://codereview.appspot.com/13272043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@783 4ff78f4a-9131-11de-b045-6380ec9940d4 | 29 August 2013, 02:27:31 UTC |
8d81cfd | tyoshino@chromium.org | 29 August 2013, 02:26:23 UTC | Add blob support to xhr_benchmark.html Release note: Add blob support to xhr_benchmark.html R=yhirano@chromium.org Review URL: https://codereview.appspot.com/13277043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@782 4ff78f4a-9131-11de-b045-6380ec9940d4 | 29 August 2013, 02:26:23 UTC |
e6d621a | tyoshino@chromium.org | 27 August 2013, 09:17:23 UTC | Add XMLHttpRequest benchmark functionality For two special path, pywebsocket serves as an HTTP server to help xhr_benchmark.html. Release note: Add XMLHttpRequest benchmark functionality R=yhirano@chromium.org Review URL: https://codereview.appspot.com/9738050 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@781 4ff78f4a-9131-11de-b045-6380ec9940d4 | 27 August 2013, 09:17:23 UTC |
3048c7d | tyoshino@chromium.org | 26 August 2013, 05:10:47 UTC | Fix wrong variable in verifyAcknowledgement function in util.js Release note: bug fix in benchmark tool error handling R=yhirano@chromium.org Review URL: https://codereview.appspot.com/12822046 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@780 4ff78f4a-9131-11de-b045-6380ec9940d4 | 26 August 2013, 05:10:47 UTC |
740cf36 | tyoshino@chromium.org | 29 July 2013, 08:12:14 UTC | Log when get_extension_response is called on inactivated processor Release note: n/a R=ricea@chromium.org Review URL: https://codereview.appspot.com/10921044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@779 4ff78f4a-9131-11de-b045-6380ec9940d4 | 29 July 2013, 08:12:14 UTC |
77023c6 | tyoshino@chromium.org | 29 July 2013, 07:55:46 UTC | Comments on the available extension list and the extension getting method Clarify that they're for server side only. Release note: n/a R=ricea@chromium.org Review URL: https://codereview.appspot.com/11089043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@778 4ff78f4a-9131-11de-b045-6380ec9940d4 | 29 July 2013, 07:55:46 UTC |
0119421 | yhirano@chromium.org | 10 July 2013, 08:19:44 UTC | Introduce window_bits constructor parameter to util._Inflate. This change enables us to delete a dirty hack in a Blink layout test. See http://crbug.com/235822 . R=tyoshino@chromium.org Review URL: https://codereview.appspot.com/11099043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@777 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 July 2013, 08:19:44 UTC |
e2a917f | tyoshino@chromium.org | 10 July 2013, 07:43:52 UTC | Move functions that are useful also for xhr benchmark. xhr benchmark tool is coming. This is preparation for it. R=yhirano@chromium.org Review URL: https://codereview.appspot.com/10799045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@776 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 July 2013, 07:43:52 UTC |
4c1f339 | tyoshino@chromium.org | 10 July 2013, 07:37:18 UTC | Test that permessage-deflate extension uses small window if specified. R=yhirano@chromium.org Review URL: https://codereview.appspot.com/10826045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@775 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 July 2013, 07:37:18 UTC |
b098791 | tyoshino@chromium.org | 10 July 2013, 07:04:11 UTC | Comment that we always use _RFC1979Inflater that can accept data generated with wbits=15 Release note: n/a R=yhirano@chromium.org Review URL: https://codereview.appspot.com/11091043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@774 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 July 2013, 07:04:11 UTC |
6b52929 | tyoshino@chromium.org | 10 July 2013, 07:03:29 UTC | Rename c2s_max_window_bits related variables for readability Now we have this parameter in both client-to-server and server-to-client direction. Variables we have now have confusing names. Release note: n/a R=yhirano@chromium.org Review URL: https://codereview.appspot.com/10962045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@773 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 July 2013, 07:03:29 UTC |
ed848fc | tyoshino@chromium.org | 10 July 2013, 04:03:23 UTC | Make echo_client.py announce c2s_max_window_bits capability TEST=Tested connecting pywebsocket R=yhirano@chromium.org Review URL: https://codereview.appspot.com/11038043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@772 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 July 2013, 04:03:23 UTC |
e2286c4 | tyoshino@chromium.org | 09 July 2013, 13:22:58 UTC | Add retry logic to the socket creation code in clients for testing. Release note: n/a R=ricea@chromium.org Review URL: https://codereview.appspot.com/9040046 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@771 4ff78f4a-9131-11de-b045-6380ec9940d4 | 09 July 2013, 13:22:58 UTC |
6ef29fa | tyoshino@chromium.org | 09 July 2013, 12:43:54 UTC | Remove an obsolete parameter from _run_server and add some file comment. Release note: n/a R=ricea@chromium.org Review URL: https://codereview.appspot.com/8956043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@770 4ff78f4a-9131-11de-b045-6380ec9940d4 | 09 July 2013, 12:43:54 UTC |
41345d4 | tyoshino@chromium.org | 31 May 2013, 05:50:51 UTC | Move logging code to util.js R=yhirano@chromium.org Review URL: https://codereview.appspot.com/9711045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@769 4ff78f4a-9131-11de-b045-6380ec9940d4 | 31 May 2013, 05:50:51 UTC |
9c37c32 | tyoshino@chromium.org | 30 May 2013, 03:13:16 UTC | Make eventsource.html report more info - Show note about --cgi_path parameter - Print onopen and onerror event - Add id to the stream R=ricea@chromium.org Review URL: https://codereview.appspot.com/9788045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@768 4ff78f4a-9131-11de-b045-6380ec9940d4 | 30 May 2013, 03:13:16 UTC |
0ec53bd | tyoshino@chromium.org | 01 May 2013, 10:20:08 UTC | [echo_client] Exit when an extension is enabled and an old protocol which does not support extensions is specified Release note: Exit echo_client when an extension is enabled and an old protocol is specified. Review URL: https://codereview.appspot.com/9072043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@767 4ff78f4a-9131-11de-b045-6380ec9940d4 | 01 May 2013, 10:20:08 UTC |
7f0a521 | tyoshino@chromium.org | 01 May 2013, 03:17:18 UTC | Remove unnecessary line configuring server's stderr. test_version_check. pywebsocket server doesn't output anything annoying for this test case. Release note: n/a Review URL: https://codereview.appspot.com/8955043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@766 4ff78f4a-9131-11de-b045-6380ec9940d4 | 01 May 2013, 03:17:18 UTC |
0f5f466 | tyoshino@chromium.org | 30 April 2013, 08:17:35 UTC | Add instruction how to configure WebSocket extensions to pydoc. Release note: mod_pywebsocket directory pydoc update. Added note about extension configuration Review URL: https://codereview.appspot.com/8954043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@765 4ff78f4a-9131-11de-b045-6380ec9940d4 | 30 April 2013, 08:17:35 UTC |
4a2489e | tyoshino@chromium.org | 25 April 2013, 14:12:16 UTC | Add permessage-deflate support to echo_client.py Release note: Add permessage-deflate support to echo_client.py Review URL: https://codereview.appspot.com/8906043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@764 4ff78f4a-9131-11de-b045-6380ec9940d4 | 25 April 2013, 14:12:16 UTC |
3b3f32f | yhirano@chromium.org | 24 April 2013, 01:16:26 UTC | c2s_max_window_bits parameter for a client can be configured only if the client allows it. Review URL: https://codereview.appspot.com/8911046 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@763 4ff78f4a-9131-11de-b045-6380ec9940d4 | 24 April 2013, 01:16:26 UTC |
83de693 | tyoshino@chromium.org | 22 April 2013, 09:04:48 UTC | Add tests on the extension processor registry Release note: n/a (test only change) Review URL: https://codereview.appspot.com/8782045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@762 4ff78f4a-9131-11de-b045-6380ec9940d4 | 22 April 2013, 09:04:48 UTC |
10e140a | tyoshino@chromium.org | 22 April 2013, 07:41:12 UTC | Define a constant for sleep time for warming up the server. Release note: n/a (test only change) Review URL: https://codereview.appspot.com/8782044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@761 4ff78f4a-9131-11de-b045-6380ec9940d4 | 22 April 2013, 07:41:12 UTC |
f8a2c5c | yhirano@chromium.org | 22 April 2013, 04:38:52 UTC | Restore x-webkit-deflate-frame extension removed at r751. The extension needs to be implemented for testing the blink implementation. Review URL: https://codereview.appspot.com/8902045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@760 4ff78f4a-9131-11de-b045-6380ec9940d4 | 22 April 2013, 04:38:52 UTC |
8e030b4 | tyoshino@chromium.org | 19 April 2013, 04:30:15 UTC | Add tests for permessage-deflate in test_msgutil.py. Since the existing tests for permessage-compress covers most of code path used for permessage-deflate, I don't add the same ones, but just these simple two cases. Release note: n/a (test only change) Review URL: https://codereview.appspot.com/8541048 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@759 4ff78f4a-9131-11de-b045-6380ec9940d4 | 19 April 2013, 04:30:15 UTC |
2f428d1 | tyoshino@chromium.org | 18 April 2013, 02:07:28 UTC | Shorten test method names where it's clear which protocol is tested. Review URL: https://codereview.appspot.com/8540047 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@757 4ff78f4a-9131-11de-b045-6380ec9940d4 | 18 April 2013, 02:07:28 UTC |
26c9016 | tyoshino@chromium.org | 17 April 2013, 03:28:35 UTC | Print time, filename and line number like google-glog to ease debugging rather than printing class name. Review URL: https://codereview.appspot.com/8534046 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@756 4ff78f4a-9131-11de-b045-6380ec9940d4 | 17 April 2013, 03:28:35 UTC |
8b3efc5 | tyoshino@chromium.org | 16 April 2013, 11:13:04 UTC | Split EndToEndTest into smaller classes After this, I'm going to shorten test methods. Release note: n/a (test only change) Review URL: https://codereview.appspot.com/8792043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@755 4ff78f4a-9131-11de-b045-6380ec9940d4 | 16 April 2013, 11:13:04 UTC |
b5239b0 | tyoshino@chromium.org | 16 April 2013, 08:42:50 UTC | Add permessage-deflate tests on two-message cases. Review URL: https://codereview.appspot.com/8537044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@754 4ff78f4a-9131-11de-b045-6380ec9940d4 | 16 April 2013, 08:42:50 UTC |
7ba64d0 | tyoshino@chromium.org | 16 April 2013, 07:22:25 UTC | Rename extension processor classes to match extension identifier. Bonus: Remove commented out x-webkit prefixed extension registration code which now are never going to live. Review URL: https://codereview.appspot.com/8576046 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@753 4ff78f4a-9131-11de-b045-6380ec9940d4 | 16 April 2013, 07:22:25 UTC |
496554b | tyoshino@chromium.org | 16 April 2013, 05:52:56 UTC | Add permessage-deflate support. Review URL: https://codereview.appspot.com/8666044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@752 4ff78f4a-9131-11de-b045-6380ec9940d4 | 16 April 2013, 05:52:56 UTC |
92eba49 | tyoshino@chromium.org | 15 April 2013, 05:40:49 UTC | Fix extension parameter parsing code of deflate extensions. They were not passing parsed integer value to deflate/inflate classes. Release note: Fix broken extension parameter parsing code of perframe-deflate, x-webkit-perframe-deflate, permessage-compression and x-permessage-compression. Review URL: https://codereview.appspot.com/8589046 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@751 4ff78f4a-9131-11de-b045-6380ec9940d4 | 15 April 2013, 05:40:49 UTC |
957f2de | tyoshino@chromium.org | 11 April 2013, 08:17:49 UTC | Factor out framing part of deflate method of permessage-compress extension into a separate class. It's going to be used for permessage-deflate implementation. Release note: n/a (no behavior change) Review URL: https://codereview.appspot.com/8411044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@750 4ff78f4a-9131-11de-b045-6380ec9940d4 | 11 April 2013, 08:17:49 UTC |
27e682d | tyoshino@chromium.org | 11 April 2013, 07:18:51 UTC | Add note about methods for setting c2s parameter. c2s methods are just for negotiation testing. Release note: n/a (comment only) BUG=none TEST=run_all.py Review URL: https://codereview.appspot.com/8589045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@749 4ff78f4a-9131-11de-b045-6380ec9940d4 | 11 April 2013, 07:18:51 UTC |
fd0edb9 | tyoshino@chromium.org | 08 April 2013, 14:04:48 UTC | Factor out part of compression stats calculation code into a separate class. Release note: n/a (no behavior change) Review URL: https://codereview.appspot.com/8411043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@748 4ff78f4a-9131-11de-b045-6380ec9940d4 | 08 April 2013, 14:04:48 UTC |
a68f746 | tyoshino@chromium.org | 08 April 2013, 10:11:54 UTC | Make window bits parameter validation stricter. Unittests are also added. Release note: LZ77 window bits related extension parameter with leading zeroes will be rejected. Review URL: https://codereview.appspot.com/8347044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@747 4ff78f4a-9131-11de-b045-6380ec9940d4 | 08 April 2013, 10:11:54 UTC |
a5bfb00 | tyoshino@chromium.org | 08 April 2013, 04:41:10 UTC | [Bug fix] Do zero check on the value to be a denominator in incoming DEFLATE ratio calculation. Release note: same as CL title Review URL: https://codereview.appspot.com/8408043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@746 4ff78f4a-9131-11de-b045-6380ec9940d4 | 08 April 2013, 04:41:10 UTC |
c1a9fa1 | tyoshino@chromium.org | 05 April 2013, 11:30:09 UTC | Give more descriptive name for _deflater and _inflater (prefix _rfc1979) Review URL: https://codereview.appspot.com/8401046 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@745 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 April 2013, 11:30:09 UTC |
b21ee33 | tyoshino@chromium.org | 04 April 2013, 09:27:11 UTC | Stop deflate-stream support. Buffer draining code that was required to close deflate-stream enabled session cleanly will be also removed. Review URL: https://codereview.appspot.com/8358043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@744 4ff78f4a-9131-11de-b045-6380ec9940d4 | 04 April 2013, 09:27:11 UTC |
835d174 | tyoshino@chromium.org | 18 March 2013, 14:14:59 UTC | Update version 0.7.8 -> 0.7.9 Bonus: remove the URL of RFC 6455 from description. It's too long. Review URL: https://codereview.appspot.com/7690045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@742 4ff78f4a-9131-11de-b045-6380ec9940d4 | 18 March 2013, 14:14:59 UTC |
eb73677 | tyoshino@chromium.org | 18 March 2013, 06:25:01 UTC | Use unparsed_uri to build Sec-WebSocket-Location header. Release note: Changed Sec-WebSocket-Location to include the query part. BUG= https://code.google.com/p/pywebsocket/issues/detail?id=68 Review URL: https://codereview.appspot.com/7568046 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@741 4ff78f4a-9131-11de-b045-6380ec9940d4 | 18 March 2013, 06:25:01 UTC |
c12c9b0 | tyoshino@chromium.org | 15 March 2013, 12:31:15 UTC | Move out the code for the deflate-stream extension into a separate file. Release note: DeflateStreamExtensionProcessor moves to deflate_stream_extension.py. Review URL: https://codereview.appspot.com/7847043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@740 4ff78f4a-9131-11de-b045-6380ec9940d4 | 15 March 2013, 12:31:15 UTC |
f666a9c | tyoshino@chromium.org | 15 March 2013, 12:29:15 UTC | Factor out window bits value validation code into a separate function. Release note: n/a Review URL: https://codereview.appspot.com/7643044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@739 4ff78f4a-9131-11de-b045-6380ec9940d4 | 15 March 2013, 12:29:15 UTC |
8e4b369 | tyoshino@chromium.org | 13 March 2013, 09:00:56 UTC | Move HyBi 00 specific functions to hybi00.py. Release note: n/a Review URL: https://codereview.appspot.com/7645045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@738 4ff78f4a-9131-11de-b045-6380ec9940d4 | 13 March 2013, 09:00:56 UTC |
98913aa | tyoshino@chromium.org | 13 March 2013, 02:13:04 UTC | Add a simple example of the EventSource API for comparison with WebSocket Review URL: https://codereview.appspot.com/7569045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@737 4ff78f4a-9131-11de-b045-6380ec9940d4 | 13 March 2013, 02:13:04 UTC |
3a82e93 | tyoshino@chromium.org | 12 March 2013, 08:45:01 UTC | Add a benchmark tool for the ArrayBuffer and some refactoring on benchmark.html Review URL: https://codereview.appspot.com/7516047 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@736 4ff78f4a-9131-11de-b045-6380ec9940d4 | 12 March 2013, 08:45:01 UTC |
7839e74 | tyoshino@chromium.org | 12 March 2013, 04:07:50 UTC | Add an option to standalone.py to choose TLS module to use Review URL: https://codereview.appspot.com/7685045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@735 4ff78f4a-9131-11de-b045-6380ec9940d4 | 12 March 2013, 04:07:50 UTC |
50ff100 | tyoshino@chromium.org | 06 March 2013, 09:01:05 UTC | fast_masking: Remember the last index in masking key RepeatedXorMasker.mask must use the masking key byte next to one used for the last mask call. Make fast_masking library take masking index and _mask_using_swig method update self._masking_key_index. Also, this CL fixes unittest for util.py. It was using three byte data as masking keys for testing. Masking keys are always 4 byte and fast_masking cannot handle such a mask. Review URL: https://codereview.appspot.com/7480045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@734 4ff78f4a-9131-11de-b045-6380ec9940d4 | 06 March 2013, 09:01:05 UTC |
6a34cf7 | tyoshino@chromium.org | 06 March 2013, 07:09:42 UTC | Wrap socket._fileobject instances made from OpenSSL.SSL.Connection instances for some tweak. The Connection instances raise special exceptions. We need to catch and convert/dismiss them to meet the expectation of SocketServer. Review URL: https://codereview.appspot.com/7365051 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@733 4ff78f4a-9131-11de-b045-6380ec9940d4 | 06 March 2013, 07:09:42 UTC |
ba70bed | tyoshino@chromium.org | 05 March 2013, 06:35:52 UTC | Change benchmark tool to measure performance for each direction. Review URL: https://codereview.appspot.com/7303084 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@731 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 March 2013, 06:35:52 UTC |
5ffd991 | tyoshino@chromium.org | 05 March 2013, 06:30:44 UTC | Override shutdown method on _StandaloneSSLConnection object to strip "how" argument. Normal socket has "how" argument but OpenSSL.SSL.Connection doesn't. To avoid an error, insert a function to remove the argument. Bonus: Quit if --tls-client-auth is specified but ssl module is not available. We log that at critical level now but forgot to exit. Review URL: https://codereview.appspot.com/7374048 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@730 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 March 2013, 06:30:44 UTC |
aaa1cfa | tyoshino@chromium.org | 05 March 2013, 05:25:25 UTC | Add C++ based faster masking library. Making key related variables in util.py are renamed to less confusing names. Review URL: https://codereview.appspot.com/7306103 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@729 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 March 2013, 05:25:25 UTC |
bf4d10f | toyoshim@chromium.org | 04 March 2013, 11:17:17 UTC | TLS optional client cert support Currently pywebsocket support client cert auth, but it is only mandatory case. Chromium implement optional case and this change is required to confirm its implementation. BUG=crbug.com/177606 Review URL: https://codereview.appspot.com/7461047 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@728 4ff78f4a-9131-11de-b045-6380ec9940d4 | 04 March 2013, 11:17:17 UTC |
0ed8f08 | tyoshino@chromium.org | 22 February 2013, 08:11:07 UTC | Print cipher in use. Review URL: https://codereview.appspot.com/7376048 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@727 4ff78f4a-9131-11de-b045-6380ec9940d4 | 22 February 2013, 08:11:07 UTC |
bc807c0 | tyoshino@chromium.org | 19 February 2013, 08:40:03 UTC | Stop using bytes which is built-in type name. Review URL: https://codereview.appspot.com/7311095 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@726 4ff78f4a-9131-11de-b045-6380ec9940d4 | 19 February 2013, 08:40:03 UTC |
6633053 | tyoshino@chromium.org | 06 February 2013, 16:44:58 UTC | Simple benchmark page. Review URL: https://codereview.appspot.com/7309044 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@725 4ff78f4a-9131-11de-b045-6380ec9940d4 | 06 February 2013, 16:44:58 UTC |
4bd400c | tyoshino@chromium.org | 05 February 2013, 05:21:10 UTC | Add a handler which rejects all extensions. Review URL: https://codereview.appspot.com/7015043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@723 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 February 2013, 05:21:10 UTC |
e368246 | tyoshino@chromium.org | 04 February 2013, 08:31:33 UTC | Rename variables named bytes which is built-in type name of Python. Review URL: https://codereview.appspot.com/7203060 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@722 4ff78f4a-9131-11de-b045-6380ec9940d4 | 04 February 2013, 08:31:33 UTC |
e301e3f | tyoshino@chromium.org | 04 February 2013, 08:04:22 UTC | Add an option to disable SSL compression. Review URL: https://codereview.appspot.com/7194054 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@721 4ff78f4a-9131-11de-b045-6380ec9940d4 | 04 February 2013, 08:04:22 UTC |
9c93b60 | tyoshino@chromium.org | 01 February 2013, 06:57:36 UTC | Add extra_headers attribute to request object to allow users to append their own headers to the WebSocket handshake. BUG= http://code.google.com/p/pywebsocket/issues/detail?id=127 Review URL: https://codereview.appspot.com/7197056 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@720 4ff78f4a-9131-11de-b045-6380ec9940d4 | 01 February 2013, 06:57:36 UTC |
63358ef | tyoshino@chromium.org | 25 January 2013, 05:58:07 UTC | Add subprotocol box. Review URL: https://codereview.appspot.com/7017043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@719 4ff78f4a-9131-11de-b045-6380ec9940d4 | 25 January 2013, 05:58:07 UTC |
b06c772 | tyoshino@chromium.org | 28 November 2012, 14:16:09 UTC | Fix log text written assuming Stream is used only by server. It's used by echo_client.py too. Review URL: https://codereview.appspot.com/6855111 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@718 4ff78f4a-9131-11de-b045-6380ec9940d4 | 28 November 2012, 14:16:09 UTC |
51da9f7 | tyoshino@chromium.org | 28 November 2012, 14:15:33 UTC | Add getpeername to TLSSocket. Review URL: https://codereview.appspot.com/6856109 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@717 4ff78f4a-9131-11de-b045-6380ec9940d4 | 28 November 2012, 14:15:33 UTC |
ffc5b8d | tyoshino@chromium.org | 28 November 2012, 14:14:56 UTC | Print cipher in use. Bonus: remove do_handshake call for ssl module. it's done on wrap_socket call. Review URL: https://codereview.appspot.com/6842110 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@716 4ff78f4a-9131-11de-b045-6380ec9940d4 | 28 November 2012, 14:14:56 UTC |
e12530d | bashi@chromium.org | 28 November 2012, 09:06:31 UTC | [mux] Support drop code 3009 Raise LogicalChannelError when a bad fragmented inner frame is detected. Review URL: https://codereview.appspot.com/6854059 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@715 4ff78f4a-9131-11de-b045-6380ec9940d4 | 28 November 2012, 09:06:31 UTC |
a1e1dd3 | bashi@chromium.org | 16 November 2012, 01:09:39 UTC | [mux] Extension support for logical channel - Set StreamOptions to logical channel. - Pass mux_handler.extensiosn() to HandshakeDeltaBase when creating implicit opend connection. Review URL: https://codereview.appspot.com/6849056 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@714 4ff78f4a-9131-11de-b045-6380ec9940d4 | 16 November 2012, 01:09:39 UTC |
13cab6c | bashi@chromium.org | 15 November 2012, 04:22:44 UTC | [mux] Use physical_connection.send_message() to send logical message _PhysicalConnectionWriter should use physical_stream.send_message() instead of physical_connection.write() so that frame filters and message filters of the physical connection are applied. - Added a flag to Stream.close_connection(). This flag is True when the caller want to wait the response. _PhysicalConnectionWriter sets this flag to False to suppress calling receive_message() in close_connection() because the reader thread will receive the response (if any). - Changed helper functions (e.g. _create_add_channel_response) not to enclose a logical frame into a physical frame. physical_connection.send_message() will wrap a logical message in a physical frame. - Send close message when the writer thread finishes. - _LogicalStream._write_inner_frame() no longer wraps a logical (inner) frame into a physical frame, too. - Changed _LogicalStream._create_inner_frame() to apply frame filters to a logical frame. - Changed _LogicalStream.send_message() to apply message filters to a logical message. Review URL: https://codereview.appspot.com/6850048 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@713 4ff78f4a-9131-11de-b045-6380ec9940d4 | 15 November 2012, 04:22:44 UTC |
f6a9995 | tyoshino@chromium.org | 12 November 2012, 05:35:00 UTC | Add TLS version flag to echo_client.py socket.ssl doesn't accept version parameter. As a bonus, - add a log printing which TLS module is used to standalone.py - Rename _ssl to _tls_socket for readability. - _TLSSocket doesn't have sendall() method. Implement it. - call ssl.SSLSocket's close() when _TLSSocket.close() is called - add comment about how ssl module behaves when key/cert parameters are bad Review URL: https://codereview.appspot.com/6819112 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@712 4ff78f4a-9131-11de-b045-6380ec9940d4 | 12 November 2012, 05:35:00 UTC |
31fbd63 | bashi@chromium.org | 09 November 2012, 01:06:45 UTC | Fix logical frame fragmentation handling - Add _InnerMessageBuilder. This class assembles fragmented logical frames and builds an inner (logical) message. - Override _get_message_from_frame() in _LogicalStream. Use _InnerMessageBuilder to build an inner message. - Remove StreamOptions.allow_fragmented_control_frame. This option is no longer needed. Review URL: https://codereview.appspot.com/6820108 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@711 4ff78f4a-9131-11de-b045-6380ec9940d4 | 09 November 2012, 01:06:45 UTC |
7bb4977 | tyoshino@chromium.org | 05 November 2012, 11:28:47 UTC | Fix worker stopper. - Fix a bug in notify_writer_done - Add a mock connection that throws an exception on write - Add a test that checks if notify_writer_done is really called Review URL: https://codereview.appspot.com/6814082 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@710 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 11:28:47 UTC |
ba6f68b | tyoshino@chromium.org | 05 November 2012, 11:05:06 UTC | Log exceptions occur during set_read_state and on_writer_done. Review URL: https://codereview.appspot.com/6815079 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@709 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 11:05:06 UTC |
d447a3d | tyoshino@chromium.org | 05 November 2012, 11:03:59 UTC | Send a close with the internal endpoint error status code when BadOperationException is thrown. Review URL: https://codereview.appspot.com/6822079 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@708 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 11:03:59 UTC |
c0156e4 | tyoshino@chromium.org | 05 November 2012, 10:59:27 UTC | Print special messages when received a Blob or an ArrayBuffer. Review URL: https://codereview.appspot.com/6811078 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@707 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 10:59:27 UTC |
701580f | tyoshino@chromium.org | 05 November 2012, 10:58:24 UTC | Group tests based on what extension is used. Review URL: https://codereview.appspot.com/6822080 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@706 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 10:58:24 UTC |
fa5afd7 | tyoshino@chromium.org | 05 November 2012, 10:54:27 UTC | Style fix. Review URL: https://codereview.appspot.com/6816087 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@705 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 10:54:27 UTC |
1bebd12 | bashi@chromium.org | 05 November 2012, 08:15:29 UTC | Two-pass consistency check for extensions Before asking the response for each extension processor, give an opportunity to an extension processor to check the whole list of requested extensions so that it can disable itself or other extension processors. Review URL: https://codereview.appspot.com/6819065 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@704 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 08:15:29 UTC |
54ab245 | tyoshino@chromium.org | 05 November 2012, 06:13:00 UTC | Remove Hixie 75 version protocol support from echo_client.py Also add warning log to standalone.py Review URL: https://codereview.appspot.com/6822070 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@703 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 06:13:00 UTC |
cedcf0e | tyoshino@chromium.org | 05 November 2012, 04:32:36 UTC | Stop worker threads blocked for send quota shortage when the writer thread is done. - have _write_inner_frame raise BadOperationException for this case - rename some callbacks not to have similar method names Review URL: https://codereview.appspot.com/6814070 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@702 4ff78f4a-9131-11de-b045-6380ec9940d4 | 05 November 2012, 04:32:36 UTC |
fe880cf | tyoshino@chromium.org | 01 November 2012, 08:15:32 UTC | Add two simple tests using golden data for permessage deflate Review URL: https://codereview.appspot.com/6819057 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@701 4ff78f4a-9131-11de-b045-6380ec9940d4 | 01 November 2012, 08:15:32 UTC |
5442279 | tyoshino@chromium.org | 01 November 2012, 08:09:44 UTC | Add randomized tests for the permessage-compress extension. Review URL: http://codereview.appspot.com/6811051 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@700 4ff78f4a-9131-11de-b045-6380ec9940d4 | 01 November 2012, 08:09:44 UTC |
5baf3e0 | bashi@chromium.org | 31 October 2012, 09:26:30 UTC | [mux] Follow -07 draft (part 1/2) - Don't exclude 'Connection' header in AddChannel{Request,Response} - Raise LogicalChannelError when send quota is overflow - Raise ValueError in _read_number(). Callers of this method should wrap the exception in LogicalChannelError or PhysicalConnectionError This CL doesn't address extra cost to quota consumption. Review URL: https://codereview.appspot.com/6734060 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@699 4ff78f4a-9131-11de-b045-6380ec9940d4 | 31 October 2012, 09:26:30 UTC |
911de14 | tyoshino@chromium.org | 31 October 2012, 04:15:05 UTC | Add explanations to log formats and do some cleanup Review URL: http://codereview.appspot.com/6775075 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@698 4ff78f4a-9131-11de-b045-6380ec9940d4 | 31 October 2012, 04:15:05 UTC |
c4c23d8 | tyoshino@chromium.org | 30 October 2012, 04:15:39 UTC | Make Dispatcher print stack trace when AbortedByUserException is raised Review URL: http://codereview.appspot.com/6814048 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@697 4ff78f4a-9131-11de-b045-6380ec9940d4 | 30 October 2012, 04:15:39 UTC |
8f1ee63 | tyoshino@chromium.org | 30 October 2012, 04:10:38 UTC | Wrap IOError and socket.error by ConnectionTerminatedException. As reported here, if IOError and socket.error pass through _stream_base, are converted by Dispatcher, and then becomes annoying long log in headerparserhandler.py and standalone.py https://groups.google.com/forum/?hl=en&fromgroups=#!topic/pywebsocket/_EVWheFrIQY Differentiating them looks not so meaningful for application. So, just merge them into ConnectionTerminatedException. Review URL: http://codereview.appspot.com/6814047 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@696 4ff78f4a-9131-11de-b045-6380ec9940d4 | 30 October 2012, 04:10:38 UTC |
e9f0d07 | tyoshino@chromium.org | 30 October 2012, 04:08:23 UTC | Add handler examples for testing AbortedByUserException. Review URL: http://codereview.appspot.com/6818048 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@695 4ff78f4a-9131-11de-b045-6380ec9940d4 | 30 October 2012, 04:08:23 UTC |
f1be87e | bashi@chromium.org | 24 October 2012, 08:34:26 UTC | [mux] Follow -07 draft (part 2/2) Add per-message extra cost to quota consumption. Review URL: https://codereview.appspot.com/6709072 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@694 4ff78f4a-9131-11de-b045-6380ec9940d4 | 24 October 2012, 08:34:26 UTC |
f21fd1c | bashi@chromium.org | 15 October 2012, 04:56:25 UTC | Update version 0.7.7 -> 0.7.8 Review URL: https://codereview.appspot.com/6675048 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@692 4ff78f4a-9131-11de-b045-6380ec9940d4 | 15 October 2012, 04:56:25 UTC |
4952b4b | bashi@chromium.org | 15 October 2012, 04:06:04 UTC | [compression] Add bfinal = 1 support - Add compress_and_finish() method to _Deflater. - Add 'bfinal' argument to _RFC1979Deflater.filter(). The flag denotes that deflater should set bfinal to 1. - Add a setter method which set bfinal to 1 to DeflateFrameExtensionProcessor and DeflateMessageProcessor. Review URL: https://codereview.appspot.com/6684050 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@691 4ff78f4a-9131-11de-b045-6380ec9940d4 | 15 October 2012, 04:06:04 UTC |
9d8de33 | bashi@chromium.org | 10 October 2012, 06:43:58 UTC | Update version 0.7.6 -> 0.7.7 - Documentation - Drop hixie-75 support - Bug fixes Review URL: https://codereview.appspot.com/6633052 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@689 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 October 2012, 06:43:58 UTC |
2609f6b | bashi@chromium.org | 10 October 2012, 05:59:24 UTC | DeflateMessageProcessor should handle fragmented messages - Rename _compress_outgoing to _compress_outgoin_enabled (to avoid confusion) - Add a flag (_compress_ongoing) that denotes whether compression has started or not. - Add compress() method to util._Deflater. - Add 'flush' argument to filter() method of _RFC1979Deflater. Review URL: https://codereview.appspot.com/6644043 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@687 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 October 2012, 05:59:24 UTC |
bc987ee | bashi@chromium.org | 10 October 2012, 05:38:01 UTC | Add receive_filtered_frame() A layout test of WebKit (send-file-blob.html) uses _receive_frame_as_frame_object() private method. Since we have per message filters as of r655, this private method doesn't always work as expected. We should provide a public method for tests which want to examine a frame. Review URL: https://codereview.appspot.com/6640051 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@686 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 October 2012, 05:38:01 UTC |
e5d21d2 | bashi@chromium.org | 10 October 2012, 05:36:38 UTC | Add hook function for compression_processor of PerMessageCompressionProcessor PerMessageCompressionProcessor creates its compression processor based on the request, so we can't pass parameters of compression processor in advance. Add a hook so that we can pass parameters to the compression processor. This CL also contains a bug fix which was detected by the added test. Review URL: https://codereview.appspot.com/6636047 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@685 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 October 2012, 05:36:38 UTC |
02c5bb2 | tyoshino@chromium.org | 10 October 2012, 04:54:48 UTC | Fix typo in comment. perframe -> permessage Review URL: http://codereview.appspot.com/6643055 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@684 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 October 2012, 04:54:48 UTC |
2784063 | tyoshino@chromium.org | 10 October 2012, 04:53:43 UTC | Use common components defined by test_handshake_hybi.py in test_handshake_hybi08.py Review URL: http://codereview.appspot.com/6625045 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@683 4ff78f4a-9131-11de-b045-6380ec9940d4 | 10 October 2012, 04:53:43 UTC |
40f4f07 | bashi@chromium.org | 09 October 2012, 06:01:53 UTC | Add x-webkit-permessage-compress for WebKit LayoutTests Review URL: https://codereview.appspot.com/6621051 git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@682 4ff78f4a-9131-11de-b045-6380ec9940d4 | 09 October 2012, 06:01:53 UTC |