sockjs/sockjs-protocol — Issue #37: Use is_closed Instead of checking r.read() == None 
Author: majek
Created: 2012-01-19 12:32:20+00:00
State: open

Doing r.read() == None check is quite confusing. Instead, introduce `is_closed` function.

That should make tests much easier to debug.