cloudant/fabric — pull request #64 by davisp (2012-11-16 20:16:50+00:00)
Title: Monitor the multipart parser process

If the multipart parsing process dies on the coordinator node the
attachment reading processes need to know to die as well since they
won't be able to finish writing their attachment data.

BugzId: 15562

This required a dumb hack because the function is generated in the context of the RPC process but is then sent to the couch_stream process where its called. Thus we have to delay creating the monitor until its called by the process that will be sitting in the receive. Silliness.