Create extremely-fast and secure embedded HTTP servers with ease.
BSD 3-Clause "New" or "Revised" License
426
stars
162
forks
source link
evhtp.c##htp__create_reply_() missed "buf = request->rc_scratch" after "request->rc_scratch = evbuffer_new()"? #157
Open
liangX-cn opened 4 years ago
// file: https://github.com/criticalstack/libevhtp/blob/develop/evhtp.c // function: htp__createreply(...) // line: 2090
if ((buf = request->rc_scratch) == NULL) { request->rc_scratch = evbuffer_new(); // // buf = request->rc_scratch; // missed this line? // evhtp_alloc_assert(request->rc_scratch); }