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
- Replace istringstream-based string_split with manual loop (string_utilities.cpp)
- Fix http_unescape: parse hex chars directly without substr allocations (http_utils.cpp)
- Flatten unique_ptr<string> members in modded_request to plain std::string,
eliminating 2 heap allocations per request (modded_request.hpp, webserver.cpp)
- Fix strcmp/strcasecmp inconsistency: all HTTP method dispatch now uses
case-sensitive strcmp per RFC 7230 (webserver.cpp)
- Optimize set_method: skip unnecessary copy+uppercase since MHD provides
method strings in uppercase per spec (http_request.cpp)
- Cache get_path_pieces() result on first access to avoid re-tokenization
on every call (http_request.hpp)
- Separate exact vs parameterized routes at registration time; only scan
parameterized routes on regex fallback (webserver.hpp, webserver.cpp)
- Add shared LRU cache (256 entries) for URL-to-endpoint route matches
to avoid repeated regex matching (webserver.hpp, webserver.cpp)
- Optimize standardize_url to modify in-place instead of creating extra
copies (http_utils.cpp)
0 commit comments