This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
Use constant string for http error response #517
Labels
A-router
Area - API routes
C-refactor
Category - Improvement
help wanted
Community contributors are welcome
P-medium
Priority - Medium, not hurry but needed
Allocating new string with for a macro string every time is somehow not efficient and may error-prone. It seems it is better to make response message be composed of read-only
const char*
See discussion in #516 (comment)
The text was updated successfully, but these errors were encountered: