diff options
author | Liong Sauw Ming <ming@teluu.com> | 2010-06-29 13:43:05 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2010-06-29 13:43:05 +0000 |
commit | 30a0510e97b01244ee21b787ae4f4cd70bcc6559 (patch) | |
tree | e3b40719a1b5efab6dac734879e834721b177fef | |
parent | 9b795de3f15b222851270ba3b29887df2d623779 (diff) |
Ticket #1018:
Application may now destroy pj_http_req inside on_complete callback.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3227 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjlib-util/include/pjlib-util/http_client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pjlib-util/include/pjlib-util/http_client.h b/pjlib-util/include/pjlib-util/http_client.h index bcd6e425..2259b3f5 100644 --- a/pjlib-util/include/pjlib-util/http_client.h +++ b/pjlib-util/include/pjlib-util/http_client.h @@ -214,6 +214,10 @@ typedef struct pj_http_req_callback * as long as pj_http_req is not destroyed and application does * not start a new request. * + * If no longer required, application may choose to destroy + * pj_http_req immediately by calling #pj_http_req_destroy() inside + * the callback. + * * @param http_req The http request. * @param status The status of the request operation. PJ_SUCCESS * if the operation completed successfully |