twitter-archive / CocoaSPDY

SPDY for iOS and OS X
Apache License 2.0
2.39k stars 233 forks source link

Fix rxBytes and rxBodyBytes in metadata. #125

Closed kgoodier closed 9 years ago

kgoodier commented 9 years ago

Data frames were incorrectly reporting their size in the metadata fields rxBytes and rxBodyBytes. If a data frame got broken up into multiple TCP segments, those would each be reported to the SPDYSession as a "data frame", with the encodedLength set to the overall frame size (for the first segment) or the remaining segment sizes.

It was, essentially, indeterminately wrong from the POV of the app.

NSProgrammer commented 9 years ago

+2