[fixbug] libcurl will signal an error for intact data written.