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
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
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
Print extensions attribute on open event.

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/16280047

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@790 4ff78f4a-9131-11de-b045-6380ec9940d4
Split XHR benchmark code into xhr_benchmark_handler.py

Release note: [XHR benchmark tool] Split XHR benchmark code into xhr_benchmark_handler.py

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/79420043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@792 4ff78f4a-9131-11de-b045-6380ec9940d4
Add a simple handler cookie_wsh.py useful for cookie test

Release note: Add a simple handler cookie_wsh.py useful for cookie test

Review URL: https://codereview.appspot.com/79430043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@793 4ff78f4a-9131-11de-b045-6380ec9940d4
Remove HyBi 08 version protocol support

R=ricea@chromium.org

Review URL: https://codereview.appspot.com/90490043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@794 4ff78f4a-9131-11de-b045-6380ec9940d4
Remove MozWebSocket support from console.html

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/90460044

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@797 4ff78f4a-9131-11de-b045-6380ec9940d4
Refine pydoc of standalone.py

- Refine instructions for TLS support
- Add underlines to headings
- Replace examples to ones with PYTHONPATH env setter
- Add note about how relative paths passed to TLS related parameters
  are resolved

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/98800043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@798 4ff78f4a-9131-11de-b045-6380ec9940d4
Make send_message() with end=False generate frame when permessage-deflate is enabled

Currently, data passed by send_message() with end=False is buffered inside the
deflater object. To be consistent with send_message()'s behavior when
permessage-deflate is not enabled, make it flush given data.

This CL also adds tests to check how permessage-deflate's implementation
generates fragments.

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/95480043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@799 4ff78f4a-9131-11de-b045-6380ec9940d4
Fix test function name: Frame -> frame

Review URL: https://codereview.appspot.com/98420049

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@800 4ff78f4a-9131-11de-b045-6380ec9940d4
Fix server_no_context_takeover implementation

_deflater needs to be reset to None after generating the last frame using
current _deflater.

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/98440047

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@801 4ff78f4a-9131-11de-b045-6380ec9940d4
Add a sample CGI script for testing effect of HTTP headers on the origin page

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/98450047

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@802 4ff78f4a-9131-11de-b045-6380ec9940d4
[Test only] Move deflate tests from PerMessageCompressTest to PerMessageDeflateTest

- empty message test
- message with null character test

After clean up, we'll delete permessage-compress support and
PerMessageCompressTest

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/97700043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@803 4ff78f4a-9131-11de-b045-6380ec9940d4
Remove perframe-compress extension support

Tests are kept and will be run against deflate-frame

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/100690043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@804 4ff78f4a-9131-11de-b045-6380ec9940d4
Remove alert() call introduced to benchmark.html by mistake

TBR=yhirano

Review URL: https://codereview.appspot.com/103910046

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@805 4ff78f4a-9131-11de-b045-6380ec9940d4
[benchmark.html] Print time per message

R=ricea@chromium.org

Review URL: https://codereview.appspot.com/103110048

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@806 4ff78f4a-9131-11de-b045-6380ec9940d4
Add text mode to xhr_benchmark.html

R=yhirano@chromium.org, yhirano

Review URL: https://codereview.appspot.com/103170043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@807 4ff78f4a-9131-11de-b045-6380ec9940d4
Move PerMessageCompressTest.test_send_message_deflate() to PerMessageDeflateTest

R=ricea@chromium.org

Review URL: https://codereview.appspot.com/108770043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@808 4ff78f4a-9131-11de-b045-6380ec9940d4
Move PerMessageCompressTest.test_send_message_deflate_fragmented_bfinal to PerMessageDeflateTest

BUG=none
R=ricea@chromium.org

Review URL: https://codereview.appspot.com/104020043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@809 4ff78f4a-9131-11de-b045-6380ec9940d4