tis 2009-12-08 klockan 13:34 +1100 skrev Mark Nottingham: > Any thoughts here? Should this really be >=, or should clientProcessBody > never get a 0 size_left?
It's done when size_left == 0, and no further body processing handler shoud be active on this request at that time. Any data on the connection at this time is either surplus data (HTTP violation) or a pipelined request waiting to be processed. If you look a little further down (about one screen) in clientProcessBody you'll also see that the body reader gets unregistered when processing reaches 0. But it would not be harmful to make clientProcessBody gracefully handle size_left == 0 I guess. A backtrace would be nice. Regards Henrik
