-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: serpapi/serpapi-cpp
base: improve/rakefile-flow
head repository: serpapi/serpapi-cpp
compare: main
- 10 commits
- 6 files changed
- 2 contributors
Commits on Feb 16, 2026
-
Fix markdown link for SerpApi in README
Updated README to include markdown link formatting for SerpApi.
Configuration menu - View commit details
-
Copy full SHA for 07bad67 - Browse repository at this point
Copy the full SHA 07bad67View commit details
Commits on Jun 9, 2026
-
Fix critical error handling and resource management in C++ code.
**Critical Fixes:** - Add null pointer checks in callback for input validation - Check for integer overflow in callback size calculation - Add CURL handle validation after curl_easy_init() - Use std::call_once for thread-safe CURL global initialization - Check curl_easy_perform() return value and report errors - Validate JSON parse errors with HasParseError() - Add null checks for curl_easy_escape() allocations - Remove unused includes and 'using namespace' directives - Add public setTimeout() method for configurable timeouts **Improvements:** - Use std::ostringstream for efficient URL parameter encoding - Replace static bool with std::once_flag for thread safety - Return meaningful error messages on failures - Add exception safety in callback function - Proper cleanup of CURL resources on all error paths Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for dc8ae3d - Browse repository at this point
Copy the full SHA dc8ae3dView commit details -
Fix missing closing namespace brace in callback.cpp
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 4458e92 - Browse repository at this point
Copy the full SHA 4458e92View commit details -
Merge pull request #2 from serpapi/fix/cpp-error-handling
Fix critical error handling and resource management in C++ code
Configuration menu - View commit details
-
Copy full SHA for 24b3e6d - Browse repository at this point
Copy the full SHA 24b3e6dView commit details -
Add unit tests for callback, Client, edge cases, and thread safety.
New test/test_unit.cpp covers previously untested paths: - callback: null inputs, zero size/num, size*num overflow, normal append, multi-chunk accumulation - Client: construction with empty/non-empty params, setTimeout (zero and positive) - Edge cases: special characters in location query, empty query string, default param merging - Response integrity: search always returns parseable JSON object - Thread safety: 4 concurrent location() calls with std::call_once CURL init Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for da316a2 - Browse repository at this point
Copy the full SHA da316a2View commit details -
Merge pull request #3 from serpapi/fix/test-coverage
Add unit tests for callback, Client, edge cases, and thread safety
Configuration menu - View commit details
-
Copy full SHA for 379798b - Browse repository at this point
Copy the full SHA 379798bView commit details -
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 94ff1f6 - Browse repository at this point
Copy the full SHA 94ff1f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d57176 - Browse repository at this point
Copy the full SHA 5d57176View commit details -
Add curl download command to README installation section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for b523684 - Browse repository at this point
Copy the full SHA b523684View commit details -
Merge pull request #5 from serpapi/docs/download-command
docs: add curl download command to README
Configuration menu - View commit details
-
Copy full SHA for 7f0ad37 - Browse repository at this point
Copy the full SHA 7f0ad37View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff improve/rakefile-flow...main