add http_client library, using libcurl

take out common http entities to http_common dir
This commit is contained in:
2024-11-23 17:54:22 +03:00
parent bf9ad65ff0
commit dff4f2b3a0
17 changed files with 955 additions and 137 deletions

View File

@@ -2679,7 +2679,7 @@ private:
fprintf(stderr, "error with PIDeque<%s>::alloc\n", __PIP_TYPENAME__(T));
}
#endif
assert(p_d);
assert(new_data);
pid_data = new_data;
pid_rsize = new_rsize;
}

View File

@@ -2556,7 +2556,7 @@ private:
fprintf(stderr, "error with PIVector<%s>::alloc\n", __PIP_TYPENAME__(T));
}
#endif
assert(p_d);
assert(new_data);
piv_data = new_data;
piv_rsize = new_rsize;
}