GitHub PushEvent at 2014-09-11 23:51:24
Repository: CocoaSPDY
Actor: kgoodier
Payload: {"shas":[["bc936c97c3cb50747b42c35c1b7a75e403a79605","18f9eeae11eca2e38e6a9fac0a0b6b8374405078@twitter.com","Track bytes sent and received per request.\n\nEach stream tracks on-the-wire bytes transmitted and received. This\naccounts for all SPDY framing and stream-related control messages,\nbut does not factor in non-stream-related control messages.\n\nThese fields are not yet properly exposed to the application, as using\nthe metadata mechanism (adds to response headers) happens too soon,\nbefore the body has been read and accounted for. tx_bytes should be\naccurate, though.","Kevin Goodier",true],["8b6d925f2b6356670f064a1f218541da522531be","18f9eeae11eca2e38e6a9fac0a0b6b8374405078@twitter.com","Create custom SPDY delegate and refactor stream management.\n\nNew delegate the app can register for by using the SPDY NSURLRequest\ncategory. Currently only exposes 1 callback for notification when a\nrequest is complete. This will always be called just prior to the\nconnectionDidFinishLoading: callback in NSURLConnectionDataDelegate.\nIt will not be called for connection:didFailWithError: callbacks, which\nwill continue to provide the metadata in the userInfo.\n\nStreams no longer \"close\" themselves. That is, once both sides are\nmarked as closed, the stream will no longer make the\nconnectionDidFinishLoading: delegate callback. Instead, the session\ncontinues to check for a closed stream just like it used to, and when\nit finds a closed one it still removes it from the active list. Now,\njust prior to removing, it will tell the stream to issue the delegate\ncallback, and provides the necessary metadata to do so.\n\nThis actually simplifies the stream end-of-lifetime behavior in sessions\nand brings the success and error cases closer together.\n\nA few potential bugs around closing a stream with an error (which makes the\nconnection:didFailWithError:) callback subsequently leaving the stream\naround and possibly calling connectionDidFinishLoading: were fixed.\nOnce you call either of those no more callbacks are allowed per Apple's\ndocs.","Kevin Goodier",true]],"size":2,"ref":"refs/heads/tx-rx-bytes","head":"8b6d925f2b6356670f064a1f218541da522531be"}