mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
oops, sending 2 bytes too much.
This commit is contained in:
parent
364dc58219
commit
c2520b2ebf
@ -179,7 +179,7 @@ http_response(struct http_request *req, int status, u_int8_t *d, u_int32_t len)
|
||||
kore_buf_append(buf, (u_int8_t *)sbuf, strlen(sbuf));
|
||||
}
|
||||
|
||||
kore_buf_append(buf, (u_int8_t *)"\r\n\r\n", 4);
|
||||
kore_buf_append(buf, (u_int8_t *)"\r\n", 2);
|
||||
htext = kore_buf_release(buf, &hlen);
|
||||
if (!net_send_queue(req->owner, htext, hlen, 0, NULL, NULL)) {
|
||||
free(htext);
|
||||
|
Loading…
x
Reference in New Issue
Block a user