You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUGFIX] Track allocated size in response and prevent double-free in cleanup (#35)
* [BUGFIX] Track allocated size in response and prevent double-free in cleanup
* [TEST] Add connection pool tests for double-free bug fix (Issue #33)
- Add comprehensive test suite for connection pool edge cases
- Test empty body responses after multiple non-empty body requests
- Test alternating request patterns and stress scenarios
- Verify fix for SSL double-free crash (SIGABRT)
- All 5 tests pass, confirming the bug is fixed
* [TEST] Add critical double-free bug reproduction test
- test_double_free_bug_reproduction() now first test, most important
- Documents exact bug scenario and crash conditions
- Uses real httpmorph-bin server with /status/200 empty body endpoint
- Triggers Connection: close -> pool_connection_destroy -> double-free
- Without fix: crashes with SIGABRT (exit code 134)
- With fix: passes successfully
- All 6 connection pool tests pass
* [ENHANCEMENT] Add retry logic to real proxy tests for improved reliability
* [BUGFIX] Enhance error handling and memory safety in various components
* [ENHANCEMENT] Bump version to 0.2.7 in pyproject.toml
0 commit comments