return r;
hc->hc_reconnected = 1;
+ free(hc->hc_url);
+ hc->hc_url = u->raw ? strdup(u->raw) : NULL;
return HTTP_CON_RECEIVING;
}
free(location);
return -EIO;
}
+ free(hc->hc_url);
+ hc->hc_url = u.raw ? strdup(u.raw) : NULL;
free(location);
r = http_client_simple_reconnect(hc, &u, hc->hc_redirv);
http_arg_list_t h;
hc->hc_hdr_create(hc, &h, url, 0);
+ free(hc->hc_url);
+ hc->hc_url = url->raw ? strdup(url->raw) : NULL;
return http_client_send(hc, HTTP_CMD_GET, url->path, url->query,
&h, NULL, 0);
}
http_client_cmd_destroy(hc, wcmd);
http_client_ssl_free(hc);
rtsp_clear_session(hc);
+ free(hc->hc_url);
free(hc->hc_location);
free(hc->hc_rbuf);
free(hc->hc_data);