ThreadedAppServer.py has a bug in the way it keeps track of the number of missing bytes when it reads from a socket. This bug is only apparent when using webkit via mod_webkit2 on a *different* host than apache. (ie: when on localhost all data appears to be available immediately, there needs to be some delay between when the packets arrive).
the count of # of bytes remaining to be read is decremented by all the bytes read previously instead of just the # of bytes read during the current loop
Log in to post a comment.