Don't continue sending the file when there has been an error
authorTerry Wilson <twilson@digium.com>
Tue, 15 Jun 2010 21:42:33 +0000 (21:42 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 15 Jun 2010 21:42:33 +0000 (21:42 +0000)
commitde18661beeda1c0d868a76157e970001b98e1b1a
tree271dbcbee76917fcec3b31228017720b205d9b63
parentfb71a38a41abfc3de4e29a660cf574431e4a25d3
Don't continue sending the file when there has been an error

If there is a problem with a firmware file, Polycom phones will close the
connection. We were continuing to send the file anyway. There should be no
reason to continue sending a file if there is an error writing it.

(closes issue #16682)
Reported by: lmadsen

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@270692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/http.c