Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#93 bug in ThreadedAppServer handling data across multiple packe

closed-fixed
nobody
WebKit (58)
5
2009-01-21
2009-01-20
Jehiah Czebotar
No

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

Discussion

  • patch changing len(chunk) to len(block)

     
  • Thank you. This has been fixed in r7749.

     
    • status: open --> closed-fixed