BUG-2295/MAINT-2624 unexpected crash around Content-Range: header processing
Not certain what the source of the short data is with one resident but I'm going to make these problems retryable as they are transport-related. Lift the retry detection into a method that should be reusable by others interested in determining what is retryable. Trace output handling on the libcurl debug callback was attrocious. Some unsafe length handling on my part was protected by a second layer of defense. Made that correct and more useful by logging actual data sizes during trace.
Showing
- indra/llcorehttp/_httpoprequest.cpp 6 additions, 6 deletionsindra/llcorehttp/_httpoprequest.cpp
- indra/llcorehttp/_httppolicy.cpp 4 additions, 24 deletionsindra/llcorehttp/_httppolicy.cpp
- indra/llcorehttp/httpcommon.cpp 33 additions, 1 deletionindra/llcorehttp/httpcommon.cpp
- indra/llcorehttp/httpcommon.h 7 additions, 1 deletionindra/llcorehttp/httpcommon.h
- indra/llcorehttp/tests/test_httprequest.hpp 59 additions, 15 deletionsindra/llcorehttp/tests/test_httprequest.hpp
- indra/llcorehttp/tests/test_llcorehttp_peer.py 12 additions, 1 deletionindra/llcorehttp/tests/test_llcorehttp_peer.py
Loading
Please register or sign in to comment