vsajip / pywebsocket

Automatically exported from code.google.com/p/pywebsocket
0 stars 0 forks source link

Rearrange exceptions to notify errors in communication and refactor closing handshake processing code #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Purpose of code changes on this branch:
- Rearrange exceptions to show the closing state more clearly
- Receive ack for closing handshake in Stream
- Fix log level for stack trace in standalone.py
- Just log MsgUtilException derivative in dispatch.py and not re-raise to the 
caller
- Set ws_stream for Hixie 75 version request object in draft75.py
- Set draft to request object to tell stream.py whether it should perform 
closing handshake or not
- Remove stream.py's own ConnectionTerminateException
- Remove unused StreamException
- Remove unnecessary parentheses in _receive_frame
- Add logger to stream.py stream_hixie75.py
- Add messages to exceptions in frame handling code
- Add detailed logging about closing handshake processing at debug level
- Remove unnecessary [0]

When reviewing my code changes, please focus on:

After the review, I'll merge this branch into:
/trunk

Original issue reported on code.google.com by tyoshino@chromium.org on 30 Nov 2010 at 2:27

GoogleCodeExporter commented 9 years ago
Set review issue status to: Fixed

Original comment by tyoshino@chromium.org on 10 Dec 2010 at 11:45