couchbase/couchbase-lite-ios — pull request #345 by smitt04 (2014-05-23 22:59:52+00:00)
Title: Fixes issue #337

Instead of asserting that there is a parser, just check if one was set. Connection can be closed before first byte is written, and therefore be no parser. (We don't want to crash here). Fixes issue #337