keithduncan / CoreNetworking

Simple set up for building Objective-C network clients and servers, includes a simple HTTP server out of the box.
BSD 3-Clause "New" or "Revised" License
19 stars 5 forks source link

AFNetworkPacketReadToWriteStream should close the write stream under error conditions #53

Open keithduncan opened 11 years ago

keithduncan commented 11 years ago

Original author: ke...@realmacsoftware.com (February 08, 2012 19:13:38)

Check that this packet closes its secondary stream under success, error, and deallocation conditions. We shouldn't hold the file open unnecessarily.

Original issue: http://code.google.com/p/amber-framework/issues/detail?id=56