allow write callbacks to indicate OOM to libcurl
authorYang Tse <yangsita@gmail.com>
Sun, 25 Sep 2011 16:53:29 +0000 (18:53 +0200)
committerYang Tse <yangsita@gmail.com>
Sun, 25 Sep 2011 17:05:46 +0000 (19:05 +0200)
commit119f43360b60c903982104944145d9cd8b7ec054
tree7cba5f3f98a946c0dca572eb22a2f48e98c5ee10
parente276802ff84d58aa2484f8292651dad4c50a5407
allow write callbacks to indicate OOM to libcurl

Allow (*curl_write_callback) write callbacks to return
CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions
inside the callback itself.
docs/libcurl/curl_easy_setopt.3
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/ftplistparser.c
lib/rtsp.c
lib/sendf.c
src/tool_cb_hdr.c
src/tool_cb_wrt.c