Application may now destroy pj_http_req inside on_complete callback.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3227 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Sauw Ming 2010-06-29 13:43:05 +00:00
parent c1426fe8af
commit 2d674b320c
1 changed files with 4 additions and 0 deletions

View File

@ -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