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
- Reuse anonymous-namespace kForbiddenFieldChars in unauthorized() instead
of the duplicate local kForbidden (code-quality-iter1-8, DRY).
- Move the operator<< friend declaration out of the now-misleading
protected: section in http_response.hpp; http_response is final, so the
section was never reachable by subclasses.
- Collapse the duplicate catch(const std::exception&)/catch(...) block in
finalize_answer to a single catch(...). Both branches did the same work.
- Add LT_CHECK_EQ(http_code, 401) to the canonical digest_auth integration
test and TODO(v2-digest) markers to the four sibling digest_auth_*
variants documenting why they are currently behaviourally redundant
under the v2 static-challenge path (test-quality-iter1-10/28).
- Migrate examples/service.cpp render_* methods from
shared_ptr(new http_response(...)) to make_shared<http_response>(...)
(code-quality-iter1-6, idiomatic v2 form).
- Add iovec_factory_empty_span and iovec_factory_single_entry edge-case
tests, with an expanded comment block on iovec_factory_deep_copies_span
spelling out the span deep-copy / caller-buffer lifetime contract
(test-quality-iter1-29).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments