mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 13:03:31 +00:00
Merge branch 'main' into home-routed
This commit is contained in:
@@ -161,7 +161,7 @@ ogs_sbi_client_t *ogs_sbi_client_add(
|
||||
curl_multi_setopt(multi, CURLMOPT_SOCKETDATA, client);
|
||||
curl_multi_setopt(multi, CURLMOPT_TIMERFUNCTION, multi_timer_cb);
|
||||
curl_multi_setopt(multi, CURLMOPT_TIMERDATA, client);
|
||||
#ifdef CURLMOPT_MAX_CONCURRENT_STREAMS
|
||||
#if CURL_AT_LEAST_VERSION(7,67,0)
|
||||
curl_multi_setopt(multi, CURLMOPT_MAX_CONCURRENT_STREAMS,
|
||||
ogs_app()->pool.stream);
|
||||
#endif
|
||||
|
||||
@@ -3210,6 +3210,11 @@ static int parse_multipart(
|
||||
ogs_assert(message);
|
||||
ogs_assert(http);
|
||||
|
||||
if (!http->content) {
|
||||
ogs_error("HTTP content NULL [%d]", (int)http->content_length);
|
||||
return OGS_ERROR;
|
||||
}
|
||||
|
||||
memset(&settings, 0, sizeof(settings));
|
||||
settings.on_header_field = &on_header_field;
|
||||
settings.on_header_value = &on_header_value;
|
||||
|
||||
Reference in New Issue
Block a user