mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-11 11:38:34 +01:00
<empty commit message>
This commit is contained in:
parent
ddb41f94fb
commit
ee065934cf
2 changed files with 5 additions and 3 deletions
|
|
@ -228,10 +228,7 @@ int cwmp_schedule_rpc (struct cwmp *cwmp, struct session *session)
|
|||
if (xml_send_message(cwmp, session, NULL))
|
||||
goto retry;
|
||||
if (!session->tree_in)
|
||||
{
|
||||
CWMP_LOG (INFO,"Receive HTTP 204 No Content");
|
||||
goto success;
|
||||
}
|
||||
|
||||
if (xml_handle_message(session))
|
||||
goto retry;
|
||||
|
|
|
|||
|
|
@ -192,6 +192,11 @@ http_send_message(struct cwmp *cwmp, char *msg_out, char **msg_in)
|
|||
|
||||
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &http_code);
|
||||
|
||||
if(http_code == 204)
|
||||
{
|
||||
CWMP_LOG (INFO,"Receive HTTP 204 No Content");
|
||||
}
|
||||
|
||||
if (http_code != 200 && http_code != 204)
|
||||
goto error;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue